Skip to content

Commit 4973417

Browse files
authored
[test] Fix Interpreter/class_resilience.swift to test the right thing (#14141)
...and to not fail when the Apple-internal on-device testing tool decided to clear out unused files. rdar://problem/36830081 (cherry picked from commit 52e6c1f)
1 parent e3ba566 commit 4973417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interpreter/class_resilience.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// RUN: %target-build-swift-dylib(%t/libresilient_class_wmo.%target-dylib-extension) -Xfrontend -enable-resilience %S/../Inputs/resilient_class.swift -emit-module -emit-module-path %t/resilient_class.swiftmodule -module-name resilient_class -I%t -L%t -lresilient_struct_wmo -whole-module-optimization
1717
// RUN: %target-codesign %t/libresilient_class_wmo.%target-dylib-extension
1818

19-
// RUN: %target-build-swift %s -L %t -I %t -lresilient_struct -lresilient_class -o %t/main -Xlinker -rpath -Xlinker %t
19+
// RUN: %target-build-swift %s -L %t -I %t -lresilient_struct_wmo -lresilient_class_wmo -o %t/main -Xlinker -rpath -Xlinker %t
2020

2121
// RUN: %target-run %t/main %t/libresilient_struct_wmo.%target-dylib-extension %t/libresilient_class_wmo.%target-dylib-extension
2222

0 commit comments

Comments
 (0)