[Lldb-commits] [lldb] [LLDB] Fix tests on Windows (PR #131600)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 18 01:04:29 PDT 2025
================
@@ -5,11 +5,11 @@
# RUN: rm -rf %t.existing
# RUN: mkdir -p %t.existing
# RUN: %lldb -o 'diagnostics dump -d %t.existing'
-# RUN: file %t.existing | FileCheck %s
+# RUN: test -d %t.existing && echo "directory" | FileCheck %s
----------------
labath wrote:
I don't think you actually need this as the test should fail if `test` returns nonzero (you can try it out my testing for a different directory name).
```suggestion
# RUN: test -d %t.existing
```
https://github.com/llvm/llvm-project/pull/131600
More information about the lldb-commits
mailing list