Commit Graph

9 Commits

Author SHA1 Message Date
Rintaro Ishizaki
c587705924 Revert "XFAIL macro tests failing in ASAN bot"
This reverts commit 26122f6f80.
2023-12-04 13:38:54 -08:00
Becca Royal-Gordon
26122f6f80 XFAIL macro tests failing in ASAN bot 2023-12-04 11:08:27 -08:00
Daniel Rodríguez Troitiño
5d2e4a380c [test] Replace %swift-build-cxx-plugin with %swift-build-c-plugin (#70188)
As pointed out in https://github.com/apple/swift/pull/70136#discussion_r1411417454
the substitution name does not make sense because we are compiling
C code, not C++.

This should not introduce any behavioural changes.
2023-12-04 09:24:35 -08:00
Saleem Abdulrasool
d0a8c4e56d Merge pull request #68318 from compnerd/plugin-helper-helper-helper
test: introduce a helper for building mock plugins
2023-09-04 13:16:39 -07:00
Saleem Abdulrasool
af79bc2d3f test: introduce a helper for building mock plugins
Introduce a helper for mock plugins as `-rpath` is not a portable
construct.  This allows running more of the macro tests on Windows.
2023-09-04 11:02:25 -07:00
Saleem Abdulrasool
c549028f88 test: sink -no-toolchain-stdlib-rpath into lit
This is a platform specific option and should be handled by lit patterns
rather than encoded into the tests.
2023-09-04 09:07:27 -07:00
Rintaro Ishizaki
5791a2cb37 [Macros] Plugin search options group
'load-plugin-library', 'load-plugin-executable', '-plugin-path' and
'-external-plugin-path' should be searched in the order they are
specified in the arguments.

Previously, for example '-plugin-path' used to precede
'-external-plugin-path' regardless of the position in the arguments.
2023-06-14 15:46:39 -07:00
Rintaro Ishizaki
a904b52bf3 [Macros/Test] Plugin search order test is 'executable_test'
rdar://109573140
2023-05-19 10:41:08 -07:00
Rintaro Ishizaki
3637885139 [Macros] Rearrange plugin search order
New ordring is:
1) `-load-plugin-library`
2) `-load-plugin-executable`
3) `-plugin-path`
4) `-external-plugin-path`

rdar://109163929
2023-05-17 10:53:36 -07:00