Skip to content

Commit 9ae6fda

Browse files
author
David Rönnqvist
committed
Change Linux specific check to linux-gnu
When swift-ci ran the tests, it looks like `%target-os` was "linux-gnu”, which wasn’t listed in the Testing Swift document (ony listing `macosx`, `darwin`, `linux`, `freebsd`, `windows-cygnus`, and `windows-gnu`) Since I can’t (at least don’t know how to) run the linux tests myself, I’ll try and update the check-prefix to see if that passes.
1 parent 56c1e23 commit 9ae6fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ClangImporter/non-modular-include.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// CHECK: {{.+}}/non-modular/Foo.framework/Headers/Foo.h:1:9: error: include of non-modular header inside framework module 'Foo'
55
// CHECK-macosx: error: could not build Objective-C module 'Foo'
6-
// CHECK-linux: error: could not build C module 'Foo'
6+
// CHECK-linux-gnu: error: could not build C module 'Foo'
77
// CHECK-NOT: error
88

99
import Foo

0 commit comments

Comments
 (0)