File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
validation-test/execution Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
2- // RUN: echo "int global() { return 42; }" | %clang -dynamiclib -o %t/libLinkMe.dylib -x c -
2+ // RUN: echo "int global() { return 42; }" | %clang -dynamiclib -o %t/libLinkMe.dylib -x c -L %sdk/usr/lib -
33// RUN: %target-swift-frontend -emit-module -parse-stdlib -o %t -module-name LinkMe -module-link-name LinkMe %S/../../Inputs/empty.swift
44
55// RUN: %target-jit-run -DIMPORT %s -I %t -L %t 2>&1
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22// RUN: cp -R %S/Inputs/VerySmallObjCFramework.framework %t
3- // RUN: %clang -dynamiclib %S/Inputs/VerySmallObjCFramework.m -fmodules -F %t -o %t/VerySmallObjCFramework.framework/VerySmallObjCFramework
3+ // RUN: %clang -dynamiclib %S/Inputs/VerySmallObjCFramework.m -fmodules -F %t -o %t/VerySmallObjCFramework.framework/VerySmallObjCFramework -L %sdk/usr/lib
44// RUN: %swift_driver -F %t %s | %FileCheck %s
55
66// REQUIRES: objc_interop
Original file line number Diff line number Diff line change 11// REQUIRES: OS=macosx
22// RUN: %empty-directory(%t)
33
4- // RUN: echo 'int abc = 42;' | %clang -x c - -dynamiclib -Xlinker -install_name -Xlinker libabc.dylib -o %t/libabc.dylib
5- // RUN: echo 'int test() { extern int abc; return abc; }' | %clang -x c - -L%t -dynamiclib -labc -o %t/libfoo.dylib
4+ // RUN: echo 'int abc = 42;' | %clang -x c - -dynamiclib -Xlinker -install_name -Xlinker libabc.dylib -o %t/libabc.dylib -L %sdk/usr/lib
5+ // RUN: echo 'int test() { extern int abc; return abc; }' | %clang -x c - -L%t -dynamiclib -labc -o %t/libfoo.dylib -L %sdk/usr/lib
66
77// RUN: %swift_driver -I %S/Inputs/custom-modules -L%t %s | %FileCheck %s
88// CHECK: {{okay}}
You can’t perform that action at this time.
0 commit comments