Skip to content

Commit 58fe207

Browse files
committed
Disable macros-related tests harder
1 parent ea0398d commit 58fe207

File tree

7 files changed

+15
-0
lines changed

7 files changed

+15
-0
lines changed

test/IDE/print_stdlib.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
//
33
// REQUIRES: nonexecutable_test
44
// REQUIRES: swift_swift_parser
5+
// FIXME: Swift parser is not enabled on Linux CI yet.
6+
// REQUIRES: OS=macosx
7+
58
//
69
// RUN: %target-swift-frontend -typecheck %s
710
// RUN: %target-swift-ide-test -print-module -module-to-print=Swift -source-filename %s -print-interface > %t.txt

test/Macros/attached_macros_diags.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 5 -module-name MacrosTest
22
// REQUIRES: swift_swift_parser
3+
// FIXME: Swift parser is not enabled on Linux CI yet.
4+
// REQUIRES: OS=macosx
35

46
@attached(accessor) macro m1() = #externalMacro(module: "MyMacros", type: "Macro1")
57
// expected-warning@-1{{external macro implementation type 'MyMacros.Macro1' could not be found for macro 'm1()'}}

test/Macros/external-macro-without-decl.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 5 -module-name Swift -parse-stdlib
22
// REQUIRES: swift_swift_parser
3+
// FIXME: Swift parser is not enabled on Linux CI yet.
4+
// REQUIRES: OS=macosx
35

46
// expected-warning@+2{{@expression has been removed in favor of @freestanding(expression)}}
57
// expected-warning@+1{{external macro implementation type 'A.B' could not be found for macro 'myMacro()'; the type must be public and provided via '-load-plugin-library'}}

test/ModuleInterface/macros.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// REQUIRES: asserts
22
// REQUIRES: swift_swift_parser
3+
// FIXME: Swift parser is not enabled on Linux CI yet.
4+
// REQUIRES: OS=macosx
35

46
// RUN: %empty-directory(%t)
57

test/Parse/invalid.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-typecheck-verify-swift
22
// REQUIRES: swift_swift_parser
3+
// FIXME: Swift parser is not enabled on Linux CI yet.
4+
// REQUIRES: OS=macosx
35

46
// rdar://15946844
57
func test1(inout var x : Int) {} // expected-warning {{'var' in this position is interpreted as an argument label}} {{18-21=`var`}}

test/SourceKit/CodeComplete/complete_sort_order.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,5 @@ func test8() {
244244
}
245245

246246
// REQUIRES: swift_swift_parser
247+
// FIXME: Swift parser is not enabled on Linux CI yet.
248+
// REQUIRES: OS=macosx

test/SourceKit/Refactoring/shorthand_shadow.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ func renameBuiltinMacroWithoutHash() {
3737

3838

3939
// REQUIRES: swift_swift_parser
40+
// FIXME: Swift parser is not enabled on Linux CI yet.
41+
// REQUIRES: OS=macosx

0 commit comments

Comments
 (0)