[llvm-commits] CVS: llvm-test/DiffOutput.sh

Reid Spencer reid at x10sys.com
Wed Oct 18 12:40:40 PDT 2006



Changes in directory llvm-test:

DiffOutput.sh updated: 1.16 -> 1.17
---
Log message:

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.


---
Diffs of the changes:  (+1 -1)

 DiffOutput.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/DiffOutput.sh
diff -u llvm-test/DiffOutput.sh:1.16 llvm-test/DiffOutput.sh:1.17
--- llvm-test/DiffOutput.sh:1.16	Tue Apr 13 13:28:12 2004
+++ llvm-test/DiffOutput.sh	Wed Oct 18 14:40:26 2006
@@ -32,7 +32,7 @@
 GOODOUTPUT=Output/${PROG}.out-${GOODOUTPUT}
 
 # Diff the two files.
-$DIFF $GOODOUTPUT $TESTOUTPUT > $DIFFOUTPUT || (
+$DIFF $GOODOUTPUT $TESTOUTPUT > $DIFFOUTPUT 2>&1 || (
   # They are different!
   echo "******************** TEST ($WHICHOUTPUT) '$PROG' FAILED! ********************"
   echo "Execution Context Diff:"






More information about the llvm-commits mailing list