Commit e32a800d authored by Akim Demaille's avatar Akim Demaille

tests: fix display of results

* tests/Makefile.am: Display in the correct order.
Use diff -u.
parent 1a5c6925
......@@ -28,9 +28,9 @@ SUFFIXES = .brg .test
$(top_builddir)/src/monoburg$(EXEEXT) $< > $@
.c.test:
diff_tool=diff; \
diff_tool='diff -u'; \
test x$(VERBOSE) = x && diff_tool=cmp; \
if ! $$diff_tool $< $(srcdir)/$<.ref; then \
if ! $$diff_tool $(srcdir)/$<.ref $<; then \
cp -f $< $<.fail; \
echo 'rm $$0; exit 1' > $@; \
else \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment