Skip to content

Commit ff06bb4

Browse files
committed
Fix a few tests for implicit _Concurrency import on Linux
1 parent b9edc57 commit ff06bb4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/IRGen/ELF-remove-autolink-section.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// RUN: %swiftc_driver -emit-ir %s -o - | %FileCheck %s -check-prefix ELF
1+
// RUN: %swiftc_driver -emit-ir %s -o - -Xfrontend -disable-implicit-concurrency-module-import | %FileCheck %s -check-prefix ELF
22

33
// Check that the swift auto link section is available in the object file.
4-
// RUN: %swiftc_driver -c %s -o %t
4+
// RUN: %swiftc_driver -c %s -o %t -Xfrontend -disable-implicit-concurrency-module-import
55
// RUN: llvm-readelf %t -S | %FileCheck %s -check-prefix SECTION
66

77
// Checks that the swift auto link section is removed from the final binary.
8-
// RUN: %swiftc_driver -emit-executable %s -o %t
8+
// RUN: %swiftc_driver -emit-executable %s -o %t -Xfrontend -disable-implicit-concurrency-module-import
99
// RUN: llvm-readelf %t -S | %FileCheck %s -check-prefix NOSECTION
1010

1111
// REQUIRES: OS=linux-gnu

test/SourceKit/Indexing/index_is_test_candidate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %sourcekitd-test -req=index %s -- -Xfrontend -serialize-diagnostics-path -Xfrontend %t.dia %s | %sed_clean > %t.response
1+
// RUN: %sourcekitd-test -req=index %s -- -Xfrontend -serialize-diagnostics-path -Xfrontend %t.dia %s -Xfrontend -disable-implicit-concurrency-module-import | %sed_clean > %t.response
22
// RUN: %diff -u %s.response %t.response
33

44
// This test verifies that, when Objective-C interop is disabled, private

0 commit comments

Comments
 (0)