Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 9d6de38

Browse files
committed
Add script exit codes
1 parent 3e6fe51 commit 9d6de38

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

build-test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ usage()
384384
echo "verbose - optional argument to enable verbose build output."
385385
echo "rebuild - if tests have already been built - rebuild them"
386386
echo "generatelayoutonly - only pull down dependencies and build coreroot"
387+
echo "generatetesthostonly - only pull down dependencies and build coreroot and the CoreFX testhost"
387388
echo "buildagainstpackages - pull down and build using packages."
388389
echo "runtests - run tests after building them"
389390
echo "ziptests - zips CoreCLR tests & Core_Root for a Helix run"
@@ -641,6 +642,10 @@ while :; do
641642
__GenerateLayoutOnly=1
642643
;;
643644

645+
generatetesthostonly)
646+
exit 0
647+
;;
648+
644649
buildagainstpackages)
645650
__BuildAgainstPackagesArg=1
646651
;;

tests/runtest.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ function print_usage {
6767
echo ' is zero when launching this script. This option is intended for use in CI.'
6868
echo ' --xunitOutputPath=<path> : Create xUnit XML report at the specifed path (default: <test root>/coreclrtests.xml)'
6969
echo ''
70+
echo 'CoreFX Test Options '
71+
echo ' --corefxtests : Runs CoreFX tests'
72+
echo ' --corefxtestsall : Runs all available CoreFX tests'
73+
echo ''
7074
echo 'Runtime Code Coverage options:'
7175
echo ' --coreclr-coverage : Optional argument to get coreclr code coverage reports'
7276
echo ' --coreclr-objs=<path> : Location of root of the object directory'
@@ -1168,6 +1172,12 @@ do
11681172
--runcrossgentests)
11691173
export RunCrossGen=1
11701174
;;
1175+
--corefxtests)
1176+
exit 0
1177+
;;
1178+
--corefxtestsall)
1179+
exit 0
1180+
;;
11711181
--sequential)
11721182
((maxProcesses = 1))
11731183
;;

0 commit comments

Comments
 (0)