mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
// 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
|
||||
|
||||
// CHECK-INITIAL-NOT: warning
|
||||
// CHECK-INITIAL: Queuing (initial):
|
||||
// CHECK-INITIAL: Job finished: {compile: main.o <= main.swift}
|
||||
// CHECK-INITIAL: Job finished: {compile: file1.o <= file1.swift}
|
||||
// CHECK-INITIAL: Job finished: {compile: file2.o <= file2.swift}
|
||||
@@ -14,6 +15,7 @@
|
||||
// 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
|
||||
|
||||
// We should skip the main and file1 rebuilds here, but we should only note skipping them _once_
|
||||
// CHECK-REBUILD: Queuing (initial):
|
||||
// CHECK-REBUILD: Job finished: {compile: file2.o <= file2.swift}
|
||||
// CHECK-REBUILD: Job skipped: {compile: main.o <= main.swift}
|
||||
// CHECK-REBUILD: Job skipped: {compile: file1.o <= file1.swift}
|
||||
|
||||
Reference in New Issue
Block a user