[lldb/Reproducers] Mark reproducer test directory as unsupported on Windows
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 23 Mar 2020 16:52:42 +0000 (09:52 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 23 Mar 2020 16:54:11 +0000 (09:54 -0700)
Reproducers are unsupported on Windows. Rather than having a UNSUPPORTED
line in every test, just skip the whole subdirectory.

15 files changed:
lldb/test/Shell/Reproducer/Functionalities/TestDataFormatter.test
lldb/test/Shell/Reproducer/Functionalities/TestExpressionEvaluation.test
lldb/test/Shell/Reproducer/Functionalities/TestImageList.test
lldb/test/Shell/Reproducer/Functionalities/TestStepping.test
lldb/test/Shell/Reproducer/TestCaptureEnvOverride.test
lldb/test/Shell/Reproducer/TestCrash.test
lldb/test/Shell/Reproducer/TestDiscard.test
lldb/test/Shell/Reproducer/TestDump.test
lldb/test/Shell/Reproducer/TestGDBRemoteRepro.test
lldb/test/Shell/Reproducer/TestMultipleTargets.test
lldb/test/Shell/Reproducer/TestRelativePath.test
lldb/test/Shell/Reproducer/TestReuseDirectory.test
lldb/test/Shell/Reproducer/TestSynchronous.test
lldb/test/Shell/Reproducer/TestWorkingDir.test
lldb/test/Shell/Reproducer/lit.local.cfg

index 7db8bc4..d133c8d 100644 (file)
@@ -1,4 +1,4 @@
-# UNSUPPORTED: system-windows, system-freebsd
+# UNSUPPORTED: system-freebsd
 
 # This tests that data formatters continue to work when replaying a reproducer.
 
index db31909..ec8b36e 100644 (file)
@@ -1,4 +1,4 @@
-# UNSUPPORTED: system-windows, system-freebsd
+# UNSUPPORTED: system-freebsd
 
 # This tests that image list works when replaying. We arbitrarily assume
 # there's at least two entries and compare that they're identical.
index 1dec9a0..ba9164f 100644 (file)
@@ -1,4 +1,4 @@
-# UNSUPPORTED: system-windows, system-freebsd
+# UNSUPPORTED: system-freebsd
 
 # This tests that stepping continues to work when replaying a reproducer.
 
index a8e7bde..ef06bce 100644 (file)
@@ -1,4 +1,3 @@
-# UNSUPPORTED: system-windows
 # This tests the LLDB_CAPTURE_REPRODUCER override.
 
 # RUN: %lldb -b -o 'reproducer status' --capture --capture-path %t.repro /bin/ls | FileCheck %s --check-prefix CAPTURE
index cb0c09a..1389a9b 100644 (file)
@@ -1,4 +1,3 @@
-# UNSUPPORTED: system-windows
 # This tests that a reproducer is generated when LLDB crashes.
 
 # Start clean.
index db9614a..829aabb 100644 (file)
@@ -1,4 +1,3 @@
-# UNSUPPORTED: system-windows
 # This ensures that the reproducer properly cleans up after itself.
 
 # Build the inferior.
index c193b80..8300a97 100644 (file)
@@ -1,4 +1,3 @@
-# UNSUPPORTED: system-windows
 # This tests the reproducer dump functionality.
 
 # Generate a reproducer.
index 609c839..683a7e2 100644 (file)
@@ -1,4 +1,4 @@
-# UNSUPPORTED: system-windows, system-freebsd
+# UNSUPPORTED: system-freebsd
 
 # This tests the replaying of GDB remote packets.
 #
index ce1a5ec..7859480 100644 (file)
@@ -1,4 +1,4 @@
-# UNSUPPORTED: system-windows, system-freebsd
+# UNSUPPORTED: system-freebsd
 
 # This tests the replaying with multiple targets.
 
index 2ee4bf0..fa75187 100644 (file)
@@ -1,4 +1,3 @@
-# UNSUPPORTED: system-windows
 # This tests relative capture paths.
 
 # RUN: mkdir -p %t
index 31b71a0..a3fecce 100644 (file)
@@ -1,4 +1,4 @@
-# UNSUPPORTED: system-windows, system-freebsd
+# UNSUPPORTED: system-freebsd
 
 # Test that we can capture twice to the same directory without breaking the
 # reproducer functionality.
index c62cbe8..f32ce8c 100644 (file)
@@ -1,5 +1,4 @@
 # REQUIRES: python
-# UNSUPPORTED: system-windows
 # Ensure that replay happens in synchronous mode.
 
 # RUN: rm -rf %t.repro
index 707916b..1d4c769 100644 (file)
@@ -1,5 +1,3 @@
-# XFAIL: system-windows
-
 # This tests that the reproducer can deal with relative files. We create a
 # binary in a subdirectory and pass its relative path to LLDB. The subdirectory
 # is removed before replay so that it only exists in the reproducer's VFS.
index 7f40227..30f97f2 100644 (file)
@@ -6,5 +6,8 @@ if 'LLVM_DISABLE_CRASH_REPORT' in config.environment:
 if 'LLDB_CAPTURE_REPRODUCER' in config.environment:
   del config.environment['LLDB_CAPTURE_REPRODUCER']
 
+if 'system-windows' in config.available_features:
+  config.unsupported = True
+
 if 'lldb-repro' in config.available_features:
   config.unsupported = True