mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #68318 from compnerd/plugin-helper-helper-helper
test: introduce a helper for building mock plugins
This commit is contained in:
@@ -15,13 +15,7 @@
|
||||
// RUN: %S/Inputs/syntax_macro_definitions.swift
|
||||
|
||||
//#-- Prepare the macro executable plugin.
|
||||
// RUN: %clang \
|
||||
// RUN: -isysroot %host_sdk \
|
||||
// RUN: -I %swift_src_root/include \
|
||||
// RUN: -L %swift-lib-dir -l_swiftMockPlugin \
|
||||
// RUN: -Wl,-rpath,%swift-lib-dir \
|
||||
// RUN: -o %t/mock-plugin \
|
||||
// RUN: %t/src/plugin.c
|
||||
// RUN: %swift-build-cxx-plugin -o %t/mock-plugin %t/src/plugin.c
|
||||
|
||||
//#-- Prepare the macro library.
|
||||
// RUN: %target-swift-frontend \
|
||||
|
||||
Reference in New Issue
Block a user