Skip to content

Commit b05e009

Browse files
committed
[Test] Make sure generic_casts.swift tests an unoptimized build of the test even when --test-optimized is passed.
rdar://problem/56044443
1 parent 0aab6d2 commit b05e009

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Interpreter/generic_casts.swift

Lines changed: 3 additions & 1 deletion
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 %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)