hide the gross red output from the compiler error test
This commit is contained in:
parent
1d76b2846c
commit
c8544bb30d
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ OUTPUT=$($REPOROOT/artifacts/$RID/smoketest/TestApp)
|
|||
|
||||
# Check that a compiler error is reported
|
||||
set +e
|
||||
dotnet compile "$REPOROOT/test/compile/failing/SimpleCompilerError" --framework "$TFM"
|
||||
dotnet compile "$REPOROOT/test/compile/failing/SimpleCompilerError" --framework "$TFM" 2>&1 >/dev/null
|
||||
rc=$?
|
||||
if [ $rc == 0 ]; then
|
||||
echo "Compiler failure test failed! The compiler did not fail to compile!"
|
||||
|
|
Loading…
Reference in a new issue