-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from stanislaw/develop
docs: switch to printf in all examples
- Loading branch information
Showing
14 changed files
with
30 additions
and
16 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
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
...gration/tests/check_commands/CHECK/failure/09-not-enough-input-for-all-checks/CHECK.itest
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,12 @@ | ||
; RUN: printf "String1" | (%FILECHECK_EXEC %S/CHECK.check 2>&1; test $? = 1;) | %FILECHECK_EXEC %s --strict-whitespace --match-full-lines | ||
; CHECK:{{^.*}}FileCheck{{(\.py)?$}} | ||
// TODO: Something wrong with the greediness here: | ||
; CHECK***:{{^.*}}CHECK.check:2:8: error: CHECK***: expected string not found in input | ||
; CHECK:{{^.*}} | ||
// TODO: And here: | ||
; CHECK:{{.*}}String2 | ||
; CHECK: ^ | ||
; CHECK:<stdin>:1:8: note: scanning from here | ||
; CHECK:String1 | ||
; CHECK: ^ | ||
; CHECK-EMPTY: |
3 changes: 3 additions & 0 deletions
3
.../integration/tests/check_commands/CHECK/failure/10-edge-case-no-newline-in-py/CHECK.check
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,3 @@ | ||
CHECK: String1 | ||
CHECK: String2 | ||
CHECK: String3 |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-EMPTY/Failure/CHECK-EMPTY.itest-py
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
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-EMPTY/Success/CHECK-EMPTY.itest
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,3 +1,3 @@ | ||
; RUN: echo -e "String1\n\nString2" | %FILECHECK_EXEC %S/CHECK-EMPTY.check | %FILECHECK_EXEC %s | ||
; RUN: printf "String1\n\nString2" | %FILECHECK_EXEC %S/CHECK-EMPTY.check | %FILECHECK_EXEC %s | ||
; CHECK: {{^.*}}FileCheck{{(\.py)?$}} | ||
; CHECK-EMPTY: |
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-NEXT/Failure/CHECK-NEXT.itest
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
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-NEXT/Success/CHECK-NEXT.itest
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,3 +1,3 @@ | ||
; RUN: echo -e "String1\nString2" | %FILECHECK_EXEC %S/CHECK-NEXT.check | %FILECHECK_EXEC %s | ||
; RUN: printf "String1\nString2" | %FILECHECK_EXEC %S/CHECK-NEXT.check | %FILECHECK_EXEC %s | ||
; CHECK: {{^.*}}FileCheck{{(\.py)?$}} | ||
; CHECK-EMPTY: |
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-NOT/Failure/CHECK-NOT.itest
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
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-NOT/Success/CHECK-NOT.itest
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,3 +1,3 @@ | ||
; RUN: echo -e "String4" | %FILECHECK_EXEC %S/CHECK-NOT.check | %FILECHECK_EXEC %s | ||
; RUN: printf "String4" | %FILECHECK_EXEC %S/CHECK-NOT.check | %FILECHECK_EXEC %s | ||
; CHECK: {{^.*}}FileCheck{{(\.py)?$}} | ||
; CHECK-EMPTY: |
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK/Failure/CHECK.itest
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
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK/Success/CHECK.itest
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,3 +1,3 @@ | ||
; RUN: echo -e "String1\nString2\nString3" | %FILECHECK_EXEC %S/CHECK.check | %FILECHECK_EXEC %s | ||
; RUN: printf "String1\nString2\nString3" | %FILECHECK_EXEC %S/CHECK.check | %FILECHECK_EXEC %s | ||
; CHECK: {{^.*}}FileCheck{{(\.py)?$}} | ||
; CHECK-EMPTY: |