[libcxx-commits] [libcxx] [libcxx][test] Fix empty.gen selftest on windows (PR #69403)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 19 12:29:26 PDT 2023


================
@@ -8,4 +8,4 @@
 
 // Make sure the test passes if it succeeds to run
 
-// RUN: true
+// RUN: :
----------------
ldionne wrote:

My goal is just to ensure that we use Lit builtin commands exclusively whenever possible so as to decouple our test suite from the underlying platform as much as possible. `true` is not a Lit builtin but we have a Lit builtin equivalent (`:`), so this patch seems desirable. I'll go ahead and merge this but I agree it'd be interesting to figure out how these tests manage to work on Windows.

https://github.com/llvm/llvm-project/pull/69403


More information about the libcxx-commits mailing list