Skip to content

Commit 3daa771

Browse files
authored
[libcxx][test] Fix empty.gen selftest on windows (llvm#69403)
Using `true` as a no-op unfortunately does not work on windows, which fails libcxx lit tests on windows. Lit provides the `:` internal shell builtin which is equivalent to `true`.
1 parent c73ad02 commit 3daa771

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libcxx/test/libcxx/selftest/gen.cpp/empty.gen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
// Make sure we can generate no tests at all
1010

11-
// RUN: true
11+
// RUN: :

libcxx/test/libcxx/selftest/sh.cpp/run-success.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
// Make sure the test passes if it succeeds to run
1010

11-
// RUN: true
11+
// RUN: :

0 commit comments

Comments
 (0)