Skip to content

Commit 28ad7f2

Browse files
committed
Add cplusplus_driver lit feature
This will be used to mark tests as REQUIRES: cplusplus_driver if they cannot be easily made to work with swift-driver due to architectural differences (for example, the lack of -driver-print-actions), and the test cases have been ported to XCTest This feature is enabled if the swift_driver param is NOT passed to lit.py
1 parent a7e8dbf commit 28ad7f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/lit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,9 @@ else:
617617
if 'swift_evolve' in lit_config.params:
618618
config.available_features.add("swift_evolve")
619619

620+
if not 'swift_driver' in lit_config.params:
621+
config.available_features.add("cplusplus_driver")
622+
620623
# Enable benchmark testing when the binary is found (has fully qualified path).
621624
if config.benchmark_o != 'Benchmark_O':
622625
config.available_features.add('benchmark')

0 commit comments

Comments
 (0)