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 @@ -500,7 +500,15 @@ elif swift_test_mode == 'optimize_none_with_implicit_dynamic':
500
500
# Add the cpu as a feature so we can selectively disable tests in an
501
501
# optimize mode for a cpu.
502
502
config .available_features .add ("swift_test_mode_optimize_none_" + run_cpu )
503
- swift_execution_tests_extra_flags = '-Xfrontend -enable-implicit-dynamic -Xfrontend -enable-private-imports -Xfrontend -enable-dynamic-replacement-chaining -swift-version 5'
503
+ swift_execution_tests_extra_flags = '-Xfrontend -enable-implicit-dynamic -Xfrontend -enable-private-imports -Xfrontend -enable-dynamic-replacement-chaining'
504
+ elif swift_test_mode == 'optimize_with_implicit_dynamic' :
505
+ config .available_features .add ("executable_test" )
506
+ config .limit_to_features .add ("executable_test" )
507
+ config .available_features .add ("swift_test_mode_optimize_with_implicit_dynamic" )
508
+ # Add the cpu as a feature so we can selectively disable tests in an
509
+ # optimize mode for a cpu.
510
+ config .available_features .add ("swift_test_mode_optimize_" + run_cpu )
511
+ swift_execution_tests_extra_flags = '-O -Xfrontend -enable-implicit-dynamic -Xfrontend -enable-private-imports -Xfrontend -enable-dynamic-replacement-chaining'
504
512
elif swift_test_mode == 'optimize' :
505
513
config .available_features .add ("executable_test" )
506
514
config .limit_to_features .add ("executable_test" )
You can’t perform that action at this time.
0 commit comments