summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2015-04-01 16:03:37 -0700
committerMatt Mitchell <mmitche@microsoft.com>2015-04-01 16:05:25 -0700
commit268f0a413d807a5edacf33a9e5f514c7b19f7104 (patch)
treeeee915b9481cb9ede8995d8ca886d37448f09d9f
parent82440897d45e16d706e80dc96918d362339d0d95 (diff)
downloadcoreclr-268f0a413d807a5edacf33a9e5f514c7b19f7104.tar.gz
coreclr-268f0a413d807a5edacf33a9e5f514c7b19f7104.tar.bz2
coreclr-268f0a413d807a5edacf33a9e5f514c7b19f7104.zip
Displaying usage message should cause build/test scripts to exit with non-zero code
-rw-r--r--build.cmd2
-rw-r--r--tests/buildtest.cmd2
-rw-r--r--tests/runtest.cmd2
3 files changed, 3 insertions, 3 deletions
diff --git a/build.cmd b/build.cmd
index 5651d89d99..d80326e18f 100644
--- a/build.cmd
+++ b/build.cmd
@@ -194,4 +194,4 @@ echo.
echo BuildArch can be: x64
echo BuildType can be: Debug, Release
echo Clean - optional argument to force a clean build.
-goto :eof
+exit /b 1 \ No newline at end of file
diff --git a/tests/buildtest.cmd b/tests/buildtest.cmd
index 173da4b2b8..a2ebdf07c3 100644
--- a/tests/buildtest.cmd
+++ b/tests/buildtest.cmd
@@ -173,4 +173,4 @@ echo.
echo BuildArch can be: x64
echo BuildType can be: Debug, Release
echo Clean - optional argument to force a clean build.
-goto :eof
+exit /b 1
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index 55dc375aa2..ffefb5e9fc 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -137,5 +137,5 @@ echo BuildType can be: Debug, Release
echo SkipWrapperGeneration- Optional parameter - this will run the same set of tests as the last time it was run
echo TestEnv- Optional parameter - this will run a custom script to set custom test envirommnent settings.
echo CORE_ROOT The path to the runtime
-goto :eof
+exit /b 1