[test] Fix stdlib/RuntimeObjC.swift with newer deployment target

This test stops working with deployment targets that no longer link
@rpath/libswiftCoreGraphics.dylib when running on OSes that still
require the CoreGraphics overlay. Explicitly link it to workaround.

rdar://135451615
This commit is contained in:
Ben Langmuir
2024-09-09 15:01:46 -07:00
parent b70824c44d
commit a2ee20d490

View File

@@ -1,7 +1,7 @@
// RUN: %empty-directory(%t)
//
// RUN: %target-clang %S/Inputs/Mirror/Mirror.mm -c -o %t/Mirror.mm.o -g
// RUN: %target-build-swift -parse-stdlib -Xfrontend -disable-access-control -module-name a -I %S/Inputs/Mirror/ -Xlinker %t/Mirror.mm.o %s -o %t.out -Xfrontend -disable-deserialization-safety
// RUN: %target-build-swift -parse-stdlib -Xfrontend -disable-access-control -module-name a -I %S/Inputs/Mirror/ -Xlinker %t/Mirror.mm.o %s -o %t.out -Xfrontend -disable-deserialization-safety -lswiftCoreGraphics
// RUN: %target-codesign %t.out
// RUN: %target-run %t.out
// REQUIRES: executable_test