[llvm] 61ca706 - [lit testing] Mark reorder.py as unavailable on Windows

David Zarzycki via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 16 07:54:25 PDT 2021


Author: David Zarzycki
Date: 2021-03-16T10:54:06-04:00
New Revision: 61ca706461c5e1edc18526c9ddc3250fe074ed94

URL: https://github.com/llvm/llvm-project/commit/61ca706461c5e1edc18526c9ddc3250fe074ed94
DIFF: https://github.com/llvm/llvm-project/commit/61ca706461c5e1edc18526c9ddc3250fe074ed94.diff

LOG: [lit testing] Mark reorder.py as unavailable on Windows

The test file has embedded slashes. This is fine for normal users that
are just recording and reordering paths, but not great when the trace
data is committed back to a repository that should work on both Unix and
Windows.

Added: 
    

Modified: 
    llvm/utils/lit/tests/reorder.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/lit/tests/reorder.py b/llvm/utils/lit/tests/reorder.py
index 8e5ecda22219..fb1c4bc41249 100644
--- a/llvm/utils/lit/tests/reorder.py
+++ b/llvm/utils/lit/tests/reorder.py
@@ -3,7 +3,7 @@
 # RUN: cp %{inputs}/reorder/.lit_test_times.txt %{inputs}/reorder/.lit_test_times.txt.orig
 # RUN: %{lit} -j1 %{inputs}/reorder | FileCheck %s
 # RUN: not 
diff  %{inputs}/reorder/.lit_test_times.txt %{inputs}/reorder/.lit_test_times.txt.orig
-# RUN: cp %{inputs}/reorder/.lit_test_times.txt.orig %{inputs}/reorder/.lit_test_times.txt
+# UNSUPPORTED: windows
 # END.
 
 # CHECK:     -- Testing: 3 tests, 1 workers --


        


More information about the llvm-commits mailing list