diff options
author | Jarret Shook <jashoo@microsoft.com> | 2018-04-24 13:51:06 -0700 |
---|---|---|
committer | jashook <jashoo@microsoft.com> | 2018-05-11 10:10:23 -0700 |
commit | 6db42177ecabd5e81a5d3d4b0b51f7730e5fd782 (patch) | |
tree | 4acaed86738c3ee05ab98468776f00e6d5acc767 /build-test.sh | |
parent | f6a4f58b5a6de5f0456e1b3fe9cf4427792e63c0 (diff) | |
download | coreclr-6db42177ecabd5e81a5d3d4b0b51f7730e5fd782.tar.gz coreclr-6db42177ecabd5e81a5d3d4b0b51f7730e5fd782.tar.bz2 coreclr-6db42177ecabd5e81a5d3d4b0b51f7730e5fd782.zip |
Merge pull request #17725 from dotnetrt/FixNixTestBuild
Fix unix test build by removing unnecessary 'managed_test_build' semafore file
Diffstat (limited to 'build-test.sh')
-rwxr-xr-x | build-test.sh | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/build-test.sh b/build-test.sh index 2de1f69e28..77b98e76d7 100755 --- a/build-test.sh +++ b/build-test.sh @@ -238,22 +238,13 @@ build_Tests() echo "Starting the Managed Tests Build..." - __ManagedTestBuiltMarker=${__TestBinDir}/managed_test_build + build_Tests_internal "Tests_Managed" "$__ProjectDir/tests/build.proj" "$__up" "Managed tests build (build tests)" - if [ ! -f $__ManagedTestBuiltMarker ]; then - - build_Tests_internal "Tests_Managed" "$__ProjectDir/tests/build.proj" "$__up" "Managed tests build (build tests)" - - if [ $? -ne 0 ]; then - echo "${__MsgPrefix}Error: build failed. Refer to the build log files for details (above)" - exit 1 - else - echo "Tests have been built." - echo "Create marker \"${__ManagedTestBuiltMarker}\"" - touch $__ManagedTestBuiltMarker - fi + if [ $? -ne 0 ]; then + echo "${__MsgPrefix}Error: build failed. Refer to the build log files for details (above)" + exit 1 else - echo "Managed Tests had been built before." + echo "Managed tests build success!" fi if [ $__BuildTestWrappers -ne -0 ]; then |