diff options
Diffstat (limited to 'testsuite/tools/Makefile.am')
-rw-r--r-- | testsuite/tools/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tools/Makefile.am b/testsuite/tools/Makefile.am index 5fd97ca..99af9db 100644 --- a/testsuite/tools/Makefile.am +++ b/testsuite/tools/Makefile.am @@ -32,7 +32,7 @@ check.local: for mode in ascii html-backends-split html-mfgs xml statistics usermap db udev udev+acl udev+hwdb hwdb plist hal hal-new; \ do \ $(SANEDESC) -m $$mode -s $(srcdir)/data >$$mode.res ;\ - if diff -I "sane-backends 1\.0\.[0-9]\+\([-0-9a-fgdirty]\+\)\?$$" \ + if diff -I "sane-backends 1\.0\.[0-9]\+\([-.0-9a-fgdirty]\+\)\?$$" \ $(srcdir)/data/$$mode.ref $$mode.res ; \ then \ echo "PASS: sane-desc -m $$mode -s $(srcdir)/data"; \ @@ -49,4 +49,5 @@ check.local: echo "========================" ; \ echo "One or more tests failed" ; \ echo "========================" ; \ + exit 1; \ fi |