Skip to content

Commit c7a29e0

Browse files
committed
Support more tests on Windows by switching to %printf
1 parent 26cb5f8 commit c7a29e0

File tree

8 files changed

+6
-10
lines changed

8 files changed

+6
-10
lines changed

tests/integration/tests/check_commands/CHECK/failure/09-not-enough-input-for-all-checks/CHECK.itest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: printf "String1" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines
1+
; RUN: %printf "String1" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines
22

33
// TODO: Something wrong with the greediness here:
44
; CHECK:{{^.*}}CHECK.check:2:8: error: {{CHECK}}: expected string not found in input

tests/integration/tests/check_commands/CHECK/failure/09-not-enough-input-for-all-checks/lit.local.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/integration/tests/check_commands/CHECK/failure/edge-case-no-newline/01-edge-case-no-newline-in-llvm/CHECK.itest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s"
1+
; RUN: %printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s"
22

33
; CHECK: {{.*}}CHECK.check:2:8: error: CHECK: expected string not found in input
44
; CHECK: CHECK: String2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
if not config.is_llvm_filecheck_test or config.is_windows:
1+
if not config.is_llvm_filecheck_test:
22
config.unsupported = True

tests/integration/tests/check_commands/CHECK/failure/edge-case-no-newline/02-edge-case-no-newline-in-py/CHECK.itest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines
1+
; RUN: %printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines
22

33
// TODO: Something wrong with the greediness here:
44
; CHECK***:{{^.*}}CHECK.check:2:8: error: CHECK***: expected string not found in input
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
if config.is_llvm_filecheck_test or config.is_windows:
1+
if config.is_llvm_filecheck_test:
22
config.unsupported = True

tests/integration/tests/check_commands/CHECK/one_string/positive-match/02-positive_match_check_without_preceeding_semicolon/lit.local.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
; RUN: printf "hello" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"
1+
; RUN: %printf "hello" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"

0 commit comments

Comments
 (0)