Skip to content

Commit 01008da

Browse files
committed
[Test][stlib] Use conditional grep to enable CHECK-51 assertions
1 parent 54f5f74 commit 01008da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/stdlib/KVOKeyPaths.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-build-swift %s -o %t/a.out
33
// RUN: %target-codesign %t/a.out
4-
// RUN: %target-run %t/a.out | %FileCheck --check-prefixes=CHECK,CHECK-51,DONT-CHECK %s
4+
// RUN: %target-run %t/a.out > %t/output.txt
5+
// RUN: %FileCheck %s < %t/output.txt
6+
// RUN: grep "check-prefix=CHECK-51" %t/output.txt && %FileCheck %s --check-prefix=CHECK-51 < %t/output.txt
57
// REQUIRES: executable_test
68

79
// REQUIRES: objc_interop

0 commit comments

Comments
 (0)