File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2222 },
2323 "condition" : {
2424 "type" : " inList" ,
25- "string" : " $env{Platform }" ,
25+ "string" : " $env{VSCMD_ARG_TGT_ARCH }" ,
2626 "list" : [
2727 " x64" ,
2828 " "
3939 },
4040 "condition" : {
4141 "type" : " inList" ,
42- "string" : " $env{Platform }" ,
42+ "string" : " $env{VSCMD_ARG_TGT_ARCH }" ,
4343 "list" : [
4444 " x86" ,
4545 " "
5656 },
5757 "condition" : {
5858 "type" : " inList" ,
59- "string" : " $env{Platform }" ,
59+ "string" : " $env{VSCMD_ARG_TGT_ARCH }" ,
6060 "list" : [
6161 " arm64" ,
6262 " "
7676 },
7777 "condition" : {
7878 "type" : " inList" ,
79- "string" : " $env{Platform }" ,
79+ "string" : " $env{VSCMD_ARG_TGT_ARCH }" ,
8080 "list" : [
8181 " arm64" ,
8282 " "
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ builtin_parameters= {}
3030builtin_parameters ['config_map' ] = config_map
3131
3232def assert_same_platform_for_build_and_test ():
33- build_platform = '$ENV{Platform }'
34- test_platform = os .getenv ('Platform ' , default = '' )
33+ build_platform = '$ENV{VSCMD_ARG_TGT_ARCH }'
34+ test_platform = os .getenv ('VSCMD_ARG_TGT_ARCH ' , default = '' )
3535 if build_platform != '' and test_platform != '' and build_platform != test_platform :
3636 exit (f'Target platform mismatch: the STL was built for { build_platform } but tested for { test_platform } .' )
3737
You can’t perform that action at this time.
0 commit comments