File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ set(profdata_merge_worker
136
136
set (TEST_MODES
137
137
optimize_none optimize optimize_unchecked optimize_size
138
138
optimize_none_with_implicit_dynamic
139
+ optimize_with_implicit_dynamic
139
140
only_executable only_non_executable
140
141
)
141
142
set (TEST_SUBSETS
Original file line number Diff line number Diff line change 12
12
// REQUIRES: executable_test
13
13
14
14
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
15
+ // UNSUPPORTED: swift_test_mode_optimize_with_implicit_dynamic
15
16
16
17
private protocol PrivateProto {
17
18
func abc( )
Original file line number Diff line number Diff line change 1
1
// REQUIRES: executable_test
2
2
// RUN: %empty-directory(%t)
3
3
4
+ // UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
5
+ // UNSUPPORTED: swift_test_mode_optimize_with_implicit_dynamic
6
+
4
7
// 1) Build the 'Inherited' library and its interface from this file
5
8
//
6
9
// RUN: %target-build-swift-dylib(%t/%target-library-name(Inherited)) -emit-module-path %t/Inherited.swiftmodule -emit-parseable-module-interface-path %t/Inherited.swiftinterface -module-name Inherited %s
Original file line number Diff line number Diff line change @@ -514,7 +514,15 @@ elif swift_test_mode == 'optimize_none_with_implicit_dynamic':
514
514
# Add the cpu as a feature so we can selectively disable tests in an
515
515
# optimize mode for a cpu.
516
516
config .available_features .add ("swift_test_mode_optimize_none_" + run_cpu )
517
- swift_execution_tests_extra_flags = '-Xfrontend -enable-implicit-dynamic -Xfrontend -enable-private-imports -Xfrontend -enable-dynamic-replacement-chaining -swift-version 5'
517
+ swift_execution_tests_extra_flags = '-Xfrontend -enable-implicit-dynamic -Xfrontend -enable-private-imports -Xfrontend -enable-dynamic-replacement-chaining'
518
+ elif swift_test_mode == 'optimize_with_implicit_dynamic' :
519
+ config .available_features .add ("executable_test" )
520
+ config .limit_to_features .add ("executable_test" )
521
+ config .available_features .add ("swift_test_mode_optimize_with_implicit_dynamic" )
522
+ # Add the cpu as a feature so we can selectively disable tests in an
523
+ # optimize mode for a cpu.
524
+ config .available_features .add ("swift_test_mode_optimize_" + run_cpu )
525
+ swift_execution_tests_extra_flags = '-O -Xfrontend -enable-implicit-dynamic -Xfrontend -enable-private-imports -Xfrontend -enable-dynamic-replacement-chaining'
518
526
elif swift_test_mode == 'optimize' :
519
527
config .available_features .add ("executable_test" )
520
528
config .limit_to_features .add ("executable_test" )
You can’t perform that action at this time.
0 commit comments