-
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 #139 from stanislaw/implicit-check-not
Support more tests on Windows by switching to %printf (part 2)
- Loading branch information
Showing
16 changed files
with
9 additions
and
23 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-EMPTY/Failure/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
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-EMPTY/Failure/lit.local.cfg
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,2 +1,2 @@ | ||
if config.is_llvm_filecheck_test or config.is_windows: | ||
if config.is_llvm_filecheck_test: | ||
config.unsupported = True |
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 +1 @@ | ||
; RUN: printf "String1\n\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-EMPTY.check" | ||
; RUN: %printf "String1\n\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-EMPTY.check" |
2 changes: 0 additions & 2 deletions
2
tests/integration/tests/examples/check-commands/CHECK-EMPTY/Success/lit.local.cfg
This file was deleted.
Oops, something went wrong.
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: 0 additions & 2 deletions
2
tests/integration/tests/examples/check-commands/CHECK-NEXT/Failure/lit.local.cfg
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
; RUN: printf "String1\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NEXT.check" | ||
; RUN: %printf "String1\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NEXT.check" |
2 changes: 0 additions & 2 deletions
2
tests/integration/tests/examples/check-commands/CHECK-NEXT/Success/lit.local.cfg
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
; RUN: printf "String4" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NOT.check" | ||
; RUN: %printf "String4" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NOT.check" |
2 changes: 0 additions & 2 deletions
2
tests/integration/tests/examples/check-commands/CHECK-NOT/Success/lit.local.cfg
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/integration/tests/invalid_input/03_empty_check_file/lit.local.cfg
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/invalid_input/03_empty_check_file/sample.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,4 +1,4 @@ | ||
; RUN: printf "" | %expect_exit 2 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --match-full-lines | ||
; RUN: %printf "" | %expect_exit 2 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --match-full-lines | ||
|
||
; CHECK: error: no check strings found with prefix 'CHECK:' | ||
; CHECK-EMPTY |
2 changes: 0 additions & 2 deletions
2
tests/integration/tests/invalid_input/04_nonempty_check_file_but_no_checks/lit.local.cfg
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/invalid_input/04_nonempty_check_file_but_no_checks/sample.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,4 +1,4 @@ | ||
; RUN: printf "" | %expect_exit 2 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --match-full-lines | ||
; RUN: %printf "" | %expect_exit 2 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --match-full-lines | ||
|
||
; CHECK: error: no check strings found with prefix 'CHECK:' | ||
; CHECK-EMPTY |
2 changes: 0 additions & 2 deletions
2
tests/integration/tests/invalid_input/05_one_newline_symbol_input/lit.local.cfg
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/invalid_input/05_one_newline_symbol_input/sample.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 +1 @@ | ||
; RUN: printf "\n" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check" 2>&1 | ||
; RUN: %printf "\n" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check" |