@@ -778,6 +778,7 @@ if run_vendor == 'apple':
778
778
config .stable_abi_triple = '%s-%s-ios13.1-macabi' % (run_cpu , run_vendor )
779
779
config .pre_stable_abi_triple = config .stable_abi_triple
780
780
config .next_stable_abi_triple = config .stable_abi_triple
781
+ config .future_abi_triple = '%s-%s-ios99-macabi' % (run_cpu , run_vendor )
781
782
config .available_features .add ('swift_stable_abi' )
782
783
else :
783
784
# iOS 12.2 does not support 32-bit targets, so we cannot run tests that
@@ -818,11 +819,22 @@ if run_vendor == 'apple':
818
819
next_stable_version = NEXT_STABLE_VERSION .get (run_os , '' )
819
820
config .next_stable_abi_triple = '%s-%s-%s%s%s' % (run_cpu , run_vendor , run_os ,
820
821
next_stable_version , run_environment )
822
+ FUTURE_VERSION = {
823
+ 'macosx' : '99.99' ,
824
+ 'ios' : '99.0' ,
825
+ 'maccatalyst' : '99.99' ,
826
+ 'tvos' : '99.0' ,
827
+ 'watchos' : '9.99.0'
828
+ }
829
+ future_version = FUTURE_VERSION .get (run_os , '' )
830
+ config .future_triple = '%s-%s-%s%s%s' % (run_cpu , run_vendor , run_os ,
831
+ future_version , run_environment )
821
832
822
833
else :
823
834
config .pre_stable_abi_triple = config .variant_triple
824
835
config .stable_abi_triple = config .variant_triple
825
836
config .next_stable_abi_triple = config .variant_triple
837
+ config .future_triple = config .variant_triple
826
838
827
839
# On Apple platforms, this substitution names the maximum OS version *without*
828
840
# Swift in the OS. On non-Apple platforms this is equivalent to %target-triple.
@@ -839,6 +851,9 @@ config.substitutions.append(('%target-stable-abi-triple',
839
851
config .substitutions .append (('%target-next-stable-abi-triple' ,
840
852
config .next_stable_abi_triple ))
841
853
854
+ config .substitutions .append (('%target-future-triple' ,
855
+ config .future_triple ))
856
+
842
857
# Sanitizers are not supported on iOS7, yet all tests are configured to start
843
858
# testing with the earliest supported platform, which happens to be iOS7 for
844
859
# Swift.
0 commit comments