Skip to content

Commit a857a90

Browse files
Merge pull request #35843 from cltnschlosser/cs_swiftDriverTestTweaks
swift-driver test tweaks
2 parents f29d049 + edce2e2 commit a857a90

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

test/Driver/driver-compile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
// COMPLEX-DAG: -F /path/to/frameworks -Fsystem /path/to/systemframeworks -F /path/to/more/frameworks
7979
// COMPLEX-DAG: -I /path/to/headers -I path/to/more/headers
8080
// COMPLEX-DAG: -module-cache-path /tmp/modules
81-
// COMPLEX-DAG: -emit-reference-dependencies-path {{(.*(/|\\))?driver-compile[^ /]+}}.swiftdeps
81+
// COMPLEX-DAG: -emit-reference-dependencies-path {{(.*(/|\\))?driver-compile[^ /]*}}.swiftdeps
8282
// COMPLEX: -o {{.+}}.o
8383

8484

test/Driver/driver_migration.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// RUN: %swiftc_driver -update-code -migrate-keep-objc-visibility -### %s 2>&1 | %FileCheck -check-prefix=CHECK-KEEP-OBJC %s
22

3-
// CHECK-KEEP-OBJC: -migrate-keep-objc-visibility
4-
// CHECK-KEEP-OBJC: -emit-remap-file-path {{.*}}.remap
3+
// CHECK-KEEP-OBJC-DAG: -migrate-keep-objc-visibility
4+
// CHECK-KEEP-OBJC-DAG: -emit-remap-file-path {{.*}}.remap

test/Driver/help.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// REQUIRES: cplusplus_driver
2+
// swift-driver has swift-help with its own tests and the output has evolved.
3+
14
// Check that options printed with -help respect whether the driver is invoked
25
// as 'swift' or as 'swiftc'.
36

0 commit comments

Comments
 (0)