Skip to content

Commit cc79e5c

Browse files
committed
Fix tests to work with the new 'FileCheck' substitution
1 parent d14d4e2 commit cc79e5c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

test/Interpreter/SDK/Foundation_NSLog.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// RUN: %target-build-swift %s %t/NSLogIsWorking.o -import-objc-header %t/NSLogIsWorking.h -o %t/main
77
// RUN: %target-run %t/main 2>%t/output.txt
8-
// RUN: (FileCheck %s < %t/output.txt) || (not FileCheck -check-prefix=CHECK-WORKING %s < %t/output.txt)
8+
// RUN: (%raw-FileCheck %s < %t/output.txt) || (not %raw-FileCheck -check-prefix=CHECK-WORKING %s < %t/output.txt)
99

1010
// REQUIRES: executable_test
1111
// REQUIRES: objc_interop

test/SILOptimizer/devirtualize_existential.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// RUN: %target-swift-frontend %s -O -emit-sil | not FileCheck %s
1+
// RUN: %target-swift-frontend %s -O -emit-sil | FileCheck %s
2+
3+
// rdar://problem/27781174
4+
// XFAIL: *
25

36
// FIXME: Existential devirtualization needs to be updated to work with
47
// open_existential_addr instructions. rdar://problem/18506660

test/SILOptimizer/specialize_checked_cast_branch.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// RUN: %target-swift-frontend -emit-sil -O -sil-inline-threshold 0 %s -o - | not FileCheck %s
1+
// RUN: %target-swift-frontend -emit-sil -O -sil-inline-threshold 0 %s -o - | FileCheck %s
2+
3+
// rdar://problem/27781189
4+
// XFAIL: *
25

36
// FIXME: rdar://problem/18603827
47

0 commit comments

Comments
 (0)