Fix exit codes in build/test scripts
authorMatt Mitchell <mmitche@microsoft.com>
Wed, 20 May 2015 22:38:31 +0000 (15:38 -0700)
committerMatt Mitchell <mmitche@microsoft.com>
Wed, 20 May 2015 22:38:31 +0000 (15:38 -0700)
commit85eac4ce945618ff522930992cb8d9422c28112a
tree41a58c0b5163109348bc7bbaf884542891938e16
parentb8493d642dc6114f1a21c1e82b6069157d698ea5
Fix exit codes in build/test scripts

The use of goto :eof in numerous places in the build and test scripts is problematic.  If preceded by an echo or other command, it will overwrite the exit code and the script may return incorrectly.  This was happening for buildtest, masking a recent ycompilation error in one of the tests.

Change all of the goto :eof's to exit /b.
build.cmd
tests/buildtest.cmd
tests/runtest.cmd