[Lldb-commits] [lldb] 52b2bae - [lldb/testsuite] Skip TestEmptyStdModule.py if using a remote platform

Fred Riss via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 18 20:54:21 PDT 2020


Author: Fred Riss
Date: 2020-03-18T20:52:28-07:00
New Revision: 52b2bae777f2a30d1ed6e87c8812bbffc4f4feeb

URL: https://github.com/llvm/llvm-project/commit/52b2bae777f2a30d1ed6e87c8812bbffc4f4feeb
DIFF: https://github.com/llvm/llvm-project/commit/52b2bae777f2a30d1ed6e87c8812bbffc4f4feeb.diff

LOG: [lldb/testsuite] Skip TestEmptyStdModule.py if using a remote platform

The test runs `platform select host`, so it make no sense to run it
when remote debugging.

Added: 
    

Modified: 
    lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py b/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py
index 76e79df5cd1c..2b1cb100a325 100644
--- a/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py
+++ b/lldb/test/API/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py
@@ -15,6 +15,7 @@ class ImportStdModule(TestBase):
     # but we still add the libc++ category so that this test is only run in
     # test configurations where libc++ is actually supposed to be tested.
     @add_test_categories(["libc++"])
+    @skipIfRemote
     @skipIf(compiler=no_match("clang"))
     def test(self):
         self.build()


        


More information about the lldb-commits mailing list