[cig-commits] r1354 - trunk/aspect/tests
bangerth at dealii.org
bangerth at dealii.org
Fri Nov 9 20:28:35 PST 2012
Author: bangerth
Date: 2012-11-09 21:28:34 -0700 (Fri, 09 Nov 2012)
New Revision: 1354
Modified:
trunk/aspect/tests/Makefile
Log:
Print real file names, not the mangled ones, if a test fails.
Modified: trunk/aspect/tests/Makefile
===================================================================
--- trunk/aspect/tests/Makefile 2012-11-09 06:07:12 UTC (rev 1353)
+++ trunk/aspect/tests/Makefile 2012-11-10 04:28:34 UTC (rev 1354)
@@ -23,9 +23,10 @@
for i in `cd $@; echo *` ; do \
cat $@/$$i | egrep -v '^\|' > $@/$$i.notime ; \
cat output-$@/$$i | egrep -v '^\|' > output-$@/$$i.notime ; \
- if (diff -q $@/$$i.notime output-$@/$$i.notime 2>&1) ; then \
+ if ((diff -q $@/$$i.notime output-$@/$$i.notime 2>&1) > /dev/null) ; then \
: ; \
else \
+ echo "Files $@/$$i output-$@/$$i differ" ; \
failed=true ; \
fi ; \
rm -f $@/$$i.notime output-$@/$$i.notime ; \
More information about the CIG-COMMITS
mailing list