Skip to content

Commit 1ee3342

Browse files
committed
Fix a test on Linux
1 parent a1e8a35 commit 1ee3342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Driver/environment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// UNSUPPORTED: windows
33
// Apple's "System Integrity Protection" makes this test fail on OS X.
44

5-
// RUN: %swift_driver -target x86_64-unknown-gnu-linux -L/foo/ -driver-use-frontend-path %S/Inputs/print-var.sh %s LD_LIBRARY_PATH | %FileCheck -check-prefix=CHECK${LD_LIBRARY_PATH+_LAX} %s
5+
// RUN: %swift_driver -sdk "" -target x86_64-unknown-gnu-linux -L/foo/ -driver-use-frontend-path %S/Inputs/print-var.sh %s LD_LIBRARY_PATH | %FileCheck -check-prefix=CHECK${LD_LIBRARY_PATH+_LAX} %s
66

77
// CHECK: {{^/foo/:[^:]+/lib/swift/linux$}}
88
// CHECK_LAX: {{^/foo/:[^:]+/lib/swift/linux}}

0 commit comments

Comments
 (0)