Skip to content

Commit 09b043c

Browse files
committed
[test] Tweak test to allow for warnings from ld, if there are any
There probably /shouldn't/ be, but it isn't this test's responsibility to catch them. rdar://problem/42271414
1 parent 851c0e0 commit 09b043c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Driver/Dependencies/only-skip-once.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: cd %t && %target-swiftc_driver -driver-show-job-lifecycle -output-file-map %t/output-file-map.json -incremental main.swift file1.swift file2.swift -j1 2>&1 | %FileCheck -check-prefix=CHECK-INITIAL %s
66

77
// CHECK-INITIAL-NOT: warning
8+
// CHECK-INITIAL: Queuing (initial):
89
// CHECK-INITIAL: Job finished: {compile: main.o <= main.swift}
910
// CHECK-INITIAL: Job finished: {compile: file1.o <= file1.swift}
1011
// CHECK-INITIAL: Job finished: {compile: file2.o <= file2.swift}
@@ -14,6 +15,7 @@
1415
// RUN: cd %t && %target-swiftc_driver -driver-show-job-lifecycle -output-file-map %t/output-file-map.json -incremental main.swift file1.swift file2.swift -j1 2>&1 | %FileCheck -check-prefix=CHECK-REBUILD %s
1516

1617
// We should skip the main and file1 rebuilds here, but we should only note skipping them _once_
18+
// CHECK-REBUILD: Queuing (initial):
1719
// CHECK-REBUILD: Job finished: {compile: file2.o <= file2.swift}
1820
// CHECK-REBUILD: Job skipped: {compile: main.o <= main.swift}
1921
// CHECK-REBUILD: Job skipped: {compile: file1.o <= file1.swift}

0 commit comments

Comments
 (0)