You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: tests/runtest.cmd
+48-41Lines changed: 48 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -59,50 +59,52 @@ if /i "%1" == "-h" goto Usage
59
59
if /i "%1"=="/help"goto Usage
60
60
if /i "%1"=="-help"goto Usage
61
61
62
-
if /i "%1"=="x64" (set __BuildArch=x64&shift&goto Arg_Loop)
63
-
if /i "%1"=="x86" (set __BuildArch=x86&shift&goto Arg_Loop)
64
-
if /i "%1"=="arm" (set __BuildArch=arm&shift&goto Arg_Loop)
65
-
if /i "%1"=="arm64" (set __BuildArch=arm64&shift&goto Arg_Loop)
66
-
67
-
if /i "%1"=="debug" (set __BuildType=Debug&shift&goto Arg_Loop)
68
-
if /i "%1"=="release" (set __BuildType=Release&shift&goto Arg_Loop)
69
-
if /i "%1"=="checked" (set __BuildType=Checked&shift&goto Arg_Loop)
70
-
71
-
if /i "%1"=="vs2015" (set __VSVersion=%1&shift&goto Arg_Loop)
72
-
if /i "%1"=="vs2017" (set __VSVersion=%1&shift&goto Arg_Loop)
73
-
74
-
if /i "%1"=="TestEnv" (set __TestEnv=%2&shift&shift&goto Arg_Loop)
75
-
if /i "%1"=="AgainstPackages" (set __AgainstPackages=1&shift&goto Arg_Loop)
76
-
if /i "%1"=="sequential" (set __Sequential=1&shift&goto Arg_Loop)
77
-
if /i "%1"=="crossgen" (set __DoCrossgen=1&shift&goto Arg_Loop)
78
-
if /i "%1"=="crossgenaltjit" (set __DoCrossgen=1&set __CrossgenAltJit=%2&shift&shift&goto Arg_Loop)
79
-
if /i "%1"=="longgc" (set __LongGCTests=1&shift&goto Arg_Loop)
80
-
if /i "%1"=="gcsimulator" (set __GCSimulatorTests=1&shift&goto Arg_Loop)
81
-
if /i "%1"=="jitstress" (set COMPlus_JitStress=%2&shift&shift&goto Arg_Loop)
82
-
if /i "%1"=="jitstressregs" (set COMPlus_JitStressRegs=%2&shift&shift&goto Arg_Loop)
83
-
if /i "%1"=="jitminopts" (set COMPlus_JITMinOpts=1&shift&goto Arg_Loop)
84
-
if /i "%1"=="jitforcerelocs" (set COMPlus_ForceRelocs=1&shift&goto Arg_Loop)
85
-
if /i "%1"=="jitdisasm" (set __JitDisasm=1&shift&goto Arg_Loop)
86
-
if /i "%1"=="ilasmroundtrip" (set __IlasmRoundTrip=1&shift&goto Arg_Loop)
87
-
if /i "%1"=="GenerateLayoutOnly" (set __GenerateLayoutOnly=1&shift&goto Arg_Loop)
88
-
if /i "%1"=="skipgeneratelayout" (set __SkipGenerateLayout=1&shift&goto Arg_Loop)
89
-
if /i "%1"=="buildxunitwrappers" (set __BuildXunitWrappers=1&shift&goto Arg_Loop)
90
-
if /i "%1"=="printlastresultsonly" (set __PrintLastResultsOnly=1&shift&goto Arg_Loop)
91
-
if /i "%1"=="PerfTests" (set __PerfTests=true&shift&goto Arg_Loop)
92
-
if /i "%1"=="CoreFXTests" (set __CoreFXTests=true&shift&goto Arg_Loop)
93
-
if /i "%1"=="CoreFXTestsAll" (set __CoreFXTests=true&set __CoreFXTestsRunAllAvailable=true&shift&goto Arg_Loop)
94
-
if /i "%1"=="CoreFXTestList" (set __CoreFXTests=true&set __CoreFXTestList=%2&shift&shift&goto Arg_Loop)
95
-
if /i "%1"=="runcrossgentests" (set RunCrossGen=true&shift&goto Arg_Loop)
96
-
if /i "%1"=="link" (set DoLink=true&set ILLINK=%2&shift&shift&goto Arg_Loop)
62
+
if /i "%1"=="x64" (set __BuildArch=x64&shift&goto Arg_Loop)
63
+
if /i "%1"=="x86" (set __BuildArch=x86&shift&goto Arg_Loop)
64
+
if /i "%1"=="arm" (set __BuildArch=arm&shift&goto Arg_Loop)
65
+
if /i "%1"=="arm64" (set __BuildArch=arm64&shift&goto Arg_Loop)
66
+
67
+
if /i "%1"=="debug" (set __BuildType=Debug&shift&goto Arg_Loop)
68
+
if /i "%1"=="release" (set __BuildType=Release&shift&goto Arg_Loop)
69
+
if /i "%1"=="checked" (set __BuildType=Checked&shift&goto Arg_Loop)
70
+
71
+
if /i "%1"=="vs2015" (set __VSVersion=%1&shift&goto Arg_Loop)
72
+
if /i "%1"=="vs2017" (set __VSVersion=%1&shift&goto Arg_Loop)
73
+
74
+
if /i "%1"=="TestEnv" (set __TestEnv=%2&shift&shift&goto Arg_Loop)
75
+
if /i "%1"=="AgainstPackages" (set __AgainstPackages=1&shift&goto Arg_Loop)
76
+
if /i "%1"=="sequential" (set __Sequential=1&shift&goto Arg_Loop)
77
+
if /i "%1"=="crossgen" (set __DoCrossgen=1&shift&goto Arg_Loop)
78
+
if /i "%1"=="crossgenaltjit" (set __DoCrossgen=1&set __CrossgenAltJit=%2&shift&shift&goto Arg_Loop)
79
+
if /i "%1"=="longgc" (set __LongGCTests=1&shift&goto Arg_Loop)
80
+
if /i "%1"=="gcsimulator" (set __GCSimulatorTests=1&shift&goto Arg_Loop)
81
+
if /i "%1"=="jitstress" (set COMPlus_JitStress=%2&shift&shift&goto Arg_Loop)
82
+
if /i "%1"=="jitstressregs" (set COMPlus_JitStressRegs=%2&shift&shift&goto Arg_Loop)
83
+
if /i "%1"=="jitminopts" (set COMPlus_JITMinOpts=1&shift&goto Arg_Loop)
84
+
if /i "%1"=="jitforcerelocs" (set COMPlus_ForceRelocs=1&shift&goto Arg_Loop)
85
+
if /i "%1"=="jitdisasm" (set __JitDisasm=1&shift&goto Arg_Loop)
86
+
if /i "%1"=="ilasmroundtrip" (set __IlasmRoundTrip=1&shift&goto Arg_Loop)
87
+
if /i "%1"=="GenerateLayoutOnly" (set __GenerateLayoutOnly=1&shift&goto Arg_Loop)
88
+
if /i "%1"=="skipgeneratelayout" (set __SkipGenerateLayout=1&shift&goto Arg_Loop)
89
+
if /i "%1"=="buildxunitwrappers" (set __BuildXunitWrappers=1&shift&goto Arg_Loop)
90
+
if /i "%1"=="printlastresultsonly" (set __PrintLastResultsOnly=1&shift&goto Arg_Loop)
91
+
if /i "%1"=="PerfTests" (set __PerfTests=true&shift&goto Arg_Loop)
92
+
if /i "%1"=="CoreFXTests" (set __CoreFXTests=true&shift&goto Arg_Loop)
93
+
if /i "%1"=="CoreFXTestsAll" (set __CoreFXTests=true&set __CoreFXTestsRunAllAvailable=true&shift&goto Arg_Loop)
94
+
if /i "%1"=="CoreFXTestList" (set __CoreFXTests=true&set __CoreFXTestList=%2&shift&shift&goto Arg_Loop)
95
+
if /i "%1"=="runcrossgentests" (set RunCrossGen=true&shift&goto Arg_Loop)
96
+
// This test feature is currently intentionally undocumented
97
+
if /i "%1"=="runlargeversionbubblecrossgentests" (set RunCrossGen=true&set CrossgenLargeVersionBubble=true&shift&goto Arg_Loop)
98
+
if /i "%1"=="link" (set DoLink=true&set ILLINK=%2&shift&shift&goto Arg_Loop)
97
99
REM tieredcompilation is on by default now, but setting this environment variable is harmless and I didn't want to break any automation that might be using it just yet
98
-
if /i "%1"=="tieredcompilation" (set COMPLUS_TieredCompilation=1&shift&goto Arg_Loop)
99
-
if /i "%1"=="gcname" (set COMPlus_GCName=%2&shift&shift&goto Arg_Loop)
100
-
if /i "%1"=="timeout" (set __TestTimeout=%2&shift&shift&goto Arg_Loop)
101
-
if /i "%1"=="altjitarch" (set __AltJitArch=%2&shift&shift&goto Arg_Loop)
100
+
if /i "%1"=="tieredcompilation"(set COMPLUS_TieredCompilation=1&shift&goto Arg_Loop)
101
+
if /i "%1"=="gcname"(set COMPlus_GCName=%2&shift&shift&goto Arg_Loop)
102
+
if /i "%1"=="timeout"(set __TestTimeout=%2&shift&shift&goto Arg_Loop)
103
+
if /i "%1"=="altjitarch"(set __AltJitArch=%2&shift&shift&goto Arg_Loop)
102
104
103
105
REM change it to COMPlus_GCStress when we stop using xunit harness
104
-
if /i "%1"=="gcstresslevel" (set COMPlus_GCStress=%2&set __TestTimeout=1800000&shift&shift&goto Arg_Loop)
105
-
if /i "%1"=="collectdumps" (set __CollectDumps=true&shift&goto Arg_Loop)
106
+
if /i "%1"=="gcstresslevel"(set COMPlus_GCStress=%2&set __TestTimeout=1800000&shift&shift&goto Arg_Loop)
107
+
if /i "%1"=="collectdumps"(set __CollectDumps=true&shift&goto Arg_Loop)
106
108
107
109
if /i not"%1"=="msbuildargs"goto SkipMsbuildArgs
108
110
:: All the rest of the args will be collected and passed directly to msbuild.
0 commit comments