Skip to content

Commit

Permalink
Remove --buildXUnitWrappers from runtest.cmd/runtest.sh (dotnet#31798)
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo authored Feb 25, 2020
1 parent 69fdb2e commit 489ffcd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions src/coreclr/tests/runtest.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ set __JitDisasm=
set __IlasmRoundTrip=
set __DoCrossgen=
set __CrossgenAltJit=
set __BuildXUnitWrappers=
set __PrintLastResultsOnly=
set RunInUnloadableContext=

Expand Down Expand Up @@ -70,7 +69,6 @@ if /i "%1" == "jitforcerelocs" (set COMPlus_ForceRelocs
if /i "%1" == "jitdisasm" (set __JitDisasm=1&shift&goto Arg_Loop)
if /i "%1" == "ilasmroundtrip" (set __IlasmRoundTrip=1&shift&goto Arg_Loop)

if /i "%1" == "buildxunitwrappers" (set __BuildXunitWrappers=1&shift&goto Arg_Loop)
if /i "%1" == "printlastresultsonly" (set __PrintLastResultsOnly=1&shift&goto Arg_Loop)
if /i "%1" == "runcrossgentests" (set RunCrossGen=true&shift&goto Arg_Loop)
if /i "%1" == "runcrossgen2tests" (set RunCrossGen2=true&shift&goto Arg_Loop)
Expand Down Expand Up @@ -151,10 +149,6 @@ if defined __Sequential (
set __RuntestPyArgs=%__RuntestPyArgs% --sequential
)

if defined __BuildXUnitWrappers (
set __RuntestPyArgs=%__RuntestPyArgs% --build_xunit_test_wrappers
)

if defined RunCrossGen (
set __RuntestPyArgs=%__RuntestPyArgs% --run_crossgen_tests
)
Expand Down
12 changes: 0 additions & 12 deletions src/coreclr/tests/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ function print_usage {
echo ' --tieredcompilation : Runs the tests with COMPlus_TieredCompilation=1'
echo ' --link <ILlink> : Runs the tests after linking via ILlink'
echo ' --xunitOutputPath=<path> : Create xUnit XML report at the specifed path (default: <test root>/coreclrtests.xml)'
echo ' --buildXUnitWrappers : Force creating the xunit wrappers, this is useful if there have been changes to issues.targets'
echo ' --printLastResultsOnly : Print the results of the last run'
echo ' --runincontext : Run each tests in an unloadable AssemblyLoadContext'
echo ''
Expand Down Expand Up @@ -218,7 +217,6 @@ verbose=0
doCrossgen=0
jitdisasm=0
ilasmroundtrip=
buildXUnitWrappers=
printLastResultsOnly=
runSequential=0
runincontext=0
Expand Down Expand Up @@ -254,9 +252,6 @@ do
release|Release)
buildConfiguration="Release"
;;
--buildXUnitWrappers)
buildXUnitWrappers=1
;;
--printLastResultsOnly)
printLastResultsOnly=1
;;
Expand Down Expand Up @@ -504,13 +499,6 @@ if [ ! -z "$ilasmroundtrip" ]; then
runtestPyArguments+=("--ilasmroundtrip")
fi

if [ ! -z "$buildXUnitWrappers" ]; then
runtestPyArguments+=("--build_xunit_test_wrappers")
else
echo "Skipping xunit wrapper build. If build-test was called on a different"
echo "host_os or arch the test run will most likely have failures."
fi

if (($verbose!=0)); then
runtestPyArguments+=("--verbose")
fi
Expand Down

0 comments on commit 489ffcd

Please sign in to comment.