mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[rth] Add resilience test helper utility
This commit is contained in:
@@ -1,24 +1,4 @@
|
||||
// RUN: rm -rf %t && mkdir -p %t/before && mkdir -p %t/after
|
||||
|
||||
// RUN: %target-build-swift -emit-library -Xfrontend -enable-resilience -D BEFORE -c %S/Inputs/superclass_methods.swift -o %t/before/superclass_methods.o
|
||||
// RUN: %target-build-swift -emit-module -Xfrontend -enable-resilience -D BEFORE -c %S/Inputs/superclass_methods.swift -o %t/before/superclass_methods.o
|
||||
|
||||
// RUN: %target-build-swift -emit-library -Xfrontend -enable-resilience -D AFTER -c %S/Inputs/superclass_methods.swift -o %t/after/superclass_methods.o
|
||||
// RUN: %target-build-swift -emit-module -Xfrontend -enable-resilience -D AFTER -c %S/Inputs/superclass_methods.swift -o %t/after/superclass_methods.o
|
||||
|
||||
// RUN: %target-build-swift -D BEFORE -c %s -I %t/before -o %t/before/main.o
|
||||
// RUN: %target-build-swift -D AFTER -c %s -I %t/after -o %t/after/main.o
|
||||
|
||||
// RUN: %target-build-swift %t/before/superclass_methods.o %t/before/main.o -o %t/before_before
|
||||
// RUN: %target-build-swift %t/before/superclass_methods.o %t/after/main.o -o %t/before_after
|
||||
// RUN: %target-build-swift %t/after/superclass_methods.o %t/before/main.o -o %t/after_before
|
||||
// RUN: %target-build-swift %t/after/superclass_methods.o %t/after/main.o -o %t/after_after
|
||||
|
||||
// RUN: %target-run %t/before_before
|
||||
// RUN: %target-run %t/before_after
|
||||
// RUN: %target-run %t/after_before
|
||||
// RUN: %target-run %t/after_after
|
||||
|
||||
// RUN: %target-resilience-test
|
||||
// REQUIRES: executable_test
|
||||
|
||||
import StdlibUnittest
|
||||
|
||||
Reference in New Issue
Block a user