-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a3e9c0
commit 970cdfe
Showing
8 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// RUN: strip-comments.sh %s | exfail filecheck %s --comment-prefixes=DIAG,RUN | filecheck %s --check-prefix DIAG | ||
|
||
test1 | ||
test2 | ||
test3 | ||
// CHECK: test1 | ||
// CHECK-NOT: test2 | ||
// CHECK: test3 | ||
|
||
// DIAG: check-not-1.test:8: error: CHECK-NOT: excluded string found in input ('test2') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// RUN: strip-comments.sh %s | exfail filecheck %s --comment-prefixes=DIAG,RUN | filecheck %s --check-prefix DIAG | ||
|
||
test2 | ||
test3 | ||
// CHECK-NOT: test2 | ||
// CHECK: test3 | ||
|
||
// DIAG: check-not-2.test:6: error: CHECK-NOT: excluded string found in input ('test2') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// RUN: strip-comments.sh %s | exfail filecheck %s --comment-prefixes=DIAG,RUN | filecheck %s --check-prefix DIAG | ||
|
||
test2 | ||
test3 | ||
// CHECK: test2 | ||
// CHECK-NOT: test3 | ||
|
||
// DIAG: check-not-3.test:9: error: CHECK-NOT: excluded string found in input ('test3') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// RUN: strip-comments.sh %s | exfail filecheck %s | filecheck %s --check-prefix DIAG | ||
|
||
// CHECK: {{unclosed | ||
// DIAG: tests/filecheck/diagnostics/regex-1.test:3:11 Invalid regex block, no }} | ||
// DIAG-NEXT{LITERAL}: // CHECK: {{unclosed | ||
// DIAG-NEXT: {{ }}^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// RUN: strip-comments.sh %s | exfail filecheck %s | filecheck %s --check-prefix DIAG | ||
|
||
// CHECK: [[09]] | ||
// DIAG: tests/filecheck/diagnostics/substitution-2.test:3:11 Invalid substitution block, unknown format: [{{}}[09]] | ||
// DIAG-NEXT: // CHECK: [{{}}[09]] | ||
// DIAG{LITERAL}: tests/filecheck/diagnostics/substitution-2.test:3:11 Invalid substitution block, unknown format: [[09]] | ||
// DIAG-NEXT{LITERAL}: // CHECK: [[09]] | ||
// DIAG-NEXT: {{ }}^ |