From c9683d405f304a909e99d1657066756fdf2b5ba4 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 29 Oct 2019 21:11:20 -0700 Subject: [PATCH] Cleanup: Skip macOS-only test on non-macOS systems and give it a unique name. --- .../lang/swift/system_framework/TestSwiftSystemFramework.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/lang/swift/system_framework/TestSwiftSystemFramework.py b/lldb/packages/Python/lldbsuite/test/lang/swift/system_framework/TestSwiftSystemFramework.py index 9d2a6fc51979d4..ff7500bf8c8505 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/swift/system_framework/TestSwiftSystemFramework.py +++ b/lldb/packages/Python/lldbsuite/test/lang/swift/system_framework/TestSwiftSystemFramework.py @@ -6,11 +6,12 @@ import unittest2 -class TestSwiftAnyType(lldbtest.TestBase): +class TestSwiftSystemFramework(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest + @skipIf(oslist=no_match(["macosx"])) def test_system_framework(self): """Make sure no framework paths into /System/Library are added""" self.build()