Skip to content

Commit ad8a611

Browse files
authored
Merge pull request #27729 from mikeash/fix-test-generic-casts-objc
[Test] Make sure generic_casts_objc.swift tests an unoptimized build of the test even when --test-optimized is passed.
2 parents 19b0a8a + 68e93a1 commit ad8a611

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Interpreter/generic_casts_objc.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// RUN: %target-run-simple-swift | %FileCheck --check-prefix CHECK --check-prefix CHECK-ONONE --dump-input fail %s
1+
// RUN: %empty-directory(%t)
2+
// RUN: %target-build-swift -Onone %s -o %t/a.out
3+
// RUN: %target-run %t/a.out | %FileCheck --check-prefix CHECK --check-prefix CHECK-ONONE %s
24
// RUN: %target-build-swift -O %s -o %t/a.out.optimized
35
// RUN: %target-codesign %t/a.out.optimized
46
// RUN: %target-run %t/a.out.optimized | %FileCheck %s

0 commit comments

Comments
 (0)