mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Codesign test/stdlib
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-build-swift -force-single-frontend-invocation -Xfrontend -enable-key-path-resilience -Xfrontend -enable-resilience -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift -g -Xfrontend -enable-key-path-resilience %t/KeyPathMultiModule_b.o -I %t %s -o %t/a.out.resilient
|
||||
// RUN: %target-codesign %t/a.out.resilient
|
||||
// RUN: %target-run %t/a.out.resilient
|
||||
|
||||
// -- Test again with resilience disabled, which changes the circumstances under
|
||||
@@ -9,6 +10,7 @@
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-build-swift -force-single-frontend-invocation -Xfrontend -enable-key-path-resilience -module-name KeyPathMultiModule_b -c -o %t/KeyPathMultiModule_b.o -emit-module-path %t/KeyPathMultiModule_b.swiftmodule -parse-as-library %S/Inputs/KeyPathMultiModule_b.swift
|
||||
// RUN: %target-build-swift -Xfrontend -enable-key-path-resilience %t/KeyPathMultiModule_b.o -I %t %s -o %t/a.out.fragile
|
||||
// RUN: %target-codesign %t/a.out.fragile
|
||||
// RUN: %target-run %t/a.out.fragile
|
||||
|
||||
import KeyPathMultiModule_b
|
||||
|
||||
Reference in New Issue
Block a user