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

Commit

Permalink
abort build-tests if failed to restore stress dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Andreenko committed Jun 13, 2019
1 parent b62e776 commit e17e3b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ REM ===
REM =========================================================================================

call "%__TestDir%\setup-stress-dependencies.cmd" /arch %__BuildArch% /outputdir %__BinDir%
if errorlevel 1 (
echo %__MsgPrefix%Error: setup-stress-dependencies failed.
goto :Exit_Failure
)
@if defined _echo @echo on

REM =========================================================================================
Expand Down
4 changes: 4 additions & 0 deletions build-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ generate_layout()
nextCommand="\"$__TestDir/setup-stress-dependencies.sh\" --outputDir=$CORE_ROOT"
echo "Resolve runtime dependences via $nextCommand"
eval $nextCommand
if [ $? != 0 ]; then
echo "${__MsgPrefix}Error: setup-stress-dependencies failed."
exit 1
fi
fi

# Precompile framework assemblies with crossgen if required
Expand Down

0 comments on commit e17e3b2

Please sign in to comment.