[lldb] Disable some tests on windows
authorMed Ismail Bennani <ismail@bennani.ma>
Tue, 6 Jun 2023 23:05:26 +0000 (16:05 -0700)
committerMed Ismail Bennani <ismail@bennani.ma>
Tue, 6 Jun 2023 23:10:05 +0000 (16:10 -0700)
This patch skips both `test_completion_target_create_from_root_dir`
introduced in `e896612` and  `target-label.test` introduced in `1e82b20`
since I don't have a windows machine to try to accomodate the filesystem
path style differences for these tests to pass.

Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
lldb/test/API/functionalities/completion/TestCompletion.py
lldb/test/Shell/Target/target-label.test

index 0cfd213..bc39f18 100644 (file)
@@ -477,6 +477,7 @@ class CommandLineCompletionTestCase(TestBase):
         self.complete_from_to("my_test_cmd main.cp", ["main.cpp"])
         self.expect("my_test_cmd main.cpp", substrs=["main.cpp"])
 
+    @skipIfWindows
     def test_completion_target_create_from_root_dir(self):
         """Tests source file completion by completing ."""
         root_dir = os.path.abspath(os.sep)
index 7194f4b..e550e86 100644 (file)
@@ -1,3 +1,4 @@
+# UNSUPPORTED: system-windows
 # RUN: %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -s %s 2>&1 | FileCheck %s
 
 target create -l "ls" /bin/ls