Skip to content

Commit 3387b65

Browse files
committed
Try harder to fix executable tests on Linux
1 parent 74902c1 commit 3387b65

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/Interpreter/fractal.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift -emit-library -o %t/%target-library-name(complex) -emit-module %S/complex.swift -module-link-name complex
2+
// RUN: %target-build-swift %import-libdispatch -emit-library -o %t/%target-library-name(complex) -emit-module %S/complex.swift -module-link-name complex
33
// RUN: %target-jit-run %s -I %t -L %t | %FileCheck %s
44

55
// RUN: grep -v import %s > %t/main.swift

test/Interpreter/mandelbrot.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift -emit-library -o %t/%target-library-name(complex) -emit-module %S/complex.swift -module-link-name complex
2+
// RUN: %target-build-swift %import-libdispatch -emit-library -o %t/%target-library-name(complex) -emit-module %S/complex.swift -module-link-name complex
33
// RUN: %target-jit-run %s -I %t -L %t | %FileCheck %s
44

55
// RUN: grep -v import %s > %t/main.swift

validation-test/Sanitizers/fuzzer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-build-swift -parse-as-library -sanitize=fuzzer %s -o %t
1+
// RUN: %target-build-swift %import-libdispatch -parse-as-library -sanitize=fuzzer %s -o %t
22
// RUN: not %t -only_ascii=1 -max_len=3 | %FileCheck %s
33
// REQUIRES: CPU=x86_64
44
// REQUIRES: executable_test

0 commit comments

Comments
 (0)