From 326e01b51ca1595f4d26cab17b3328680d52e63e Mon Sep 17 00:00:00 2001 From: Brian Gesiak Date: Wed, 20 Jan 2016 22:50:31 -0500 Subject: [PATCH] [tests][ast] Obj-C related tests require Obj-C `ASTSection_ObjC` tests may be run on any number of operating systems, not just Linux. No matter the OS, these tests rely on Objective-C being available. Check for that instead of the OS. --- test/DebugInfo/ASTSection_ObjC.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/DebugInfo/ASTSection_ObjC.swift b/test/DebugInfo/ASTSection_ObjC.swift index 705932dec06de..d4e9a9566f606 100644 --- a/test/DebugInfo/ASTSection_ObjC.swift +++ b/test/DebugInfo/ASTSection_ObjC.swift @@ -11,7 +11,7 @@ // RUN: %lldb-moduleimport-test %t/ASTSection | FileCheck %s --allow-empty --check-prefix=LINETABLE-CHECK // REQUIRES: executable_test -// UNSUPPORTED: OS=linux-gnu +// REQUIRES: objc_interop // CHECK: Loaded module ASTSection from // CHECK: - Target: {{.+}}-{{.+}}-{{.+}}