We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea7dda commit a0ed930Copy full SHA for a0ed930
test/Driver/static-stdlib-autolink-linux.swift
@@ -1,5 +1,4 @@
1
// Statically link a program with concurrency module
2
-// REQUIRES: OS=linux-gnu
3
// REQUIRES: static_stdlib
4
// REQUIRES: concurrency
5
// REQUIRES: libdispatch_static
@@ -13,7 +12,12 @@
13
12
14
// RUN: %t/main | %FileCheck %s
15
// CHECK: Hello
16
-// RUN: ldd %t/main | %FileCheck %s --check-prefix=LDD
+
+// RUN: if [ %target-os == "linux-gnu" ]; \
17
+// RUN: then \
18
+// RUN: ldd %t/main | %FileCheck %s --check-prefix=LDD; \
19
+// RUN: fi
20
21
// LDD-NOT: libswiftCore.so
22
// LDD-NOT: libswift_Concurrency.so
23
0 commit comments