summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2015-04-02 08:53:33 -0700
committerMatt Mitchell <mmitche@microsoft.com>2015-04-02 08:53:33 -0700
commit4d8e77d20517c97a132af0c0654e23a5c8c900a2 (patch)
tree02c9f271a05df3a72b484267fe25a4b113381262
parent98b9c5229c375f88bdece22ac09ddb8fba25a413 (diff)
parent08fa669ea1857e5dfbda0fecb7adb85ee7acd1ed (diff)
downloadcoreclr-4d8e77d20517c97a132af0c0654e23a5c8c900a2.tar.gz
coreclr-4d8e77d20517c97a132af0c0654e23a5c8c900a2.tar.bz2
coreclr-4d8e77d20517c97a132af0c0654e23a5c8c900a2.zip
Merge pull request #612 from mmitche/usage-exit-code
Usage message exit 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 56c69a4452..a50cbddb8b 100644
--- a/build.cmd
+++ b/build.cmd
@@ -197,4 +197,4 @@ echo BuildType can be: Debug, Release
echo Clean - optional argument to force a clean build.
echo linuxmscorlib - Build mscorlib for Linux
echo osxmscorlib - Build mscorlib for OS X
-goto :eof
+exit /b 1
diff --git a/tests/buildtest.cmd b/tests/buildtest.cmd
index c60adb8762..c8823f961e 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 79dcf25ad4..4978618980 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