Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit e10799b

Browse files
author
Reid Spencer
committed
Catch standard error output from the diff program into the diff file as
well as the standard output. This will help to record the difference info in the Output/*.diff files as well as locate the difference info in the correct place in the build output. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@31043 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 4bd5ddb commit e10799b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DiffOutput.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ TESTOUTPUT=Output/${PROG}.out-${WHICHOUTPUT}
3232
GOODOUTPUT=Output/${PROG}.out-${GOODOUTPUT}
3333

3434
# Diff the two files.
35-
$DIFF $GOODOUTPUT $TESTOUTPUT > $DIFFOUTPUT || (
35+
$DIFF $GOODOUTPUT $TESTOUTPUT > $DIFFOUTPUT 2>&1 || (
3636
# They are different!
3737
echo "******************** TEST ($WHICHOUTPUT) '$PROG' FAILED! ********************"
3838
echo "Execution Context Diff:"

0 commit comments

Comments
 (0)