Skip to content

Commit 68e93a1

Browse files
committed
[Test] Make sure generic_casts_objc.swift tests an unoptimized build of the test even when --test-optimized is passed.
rdar://problem/56339727
1 parent dd1f030 commit 68e93a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: 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)