diff options
author | Guillem Jover <guillem@debian.org> | 2014-04-30 05:40:33 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-04-30 07:59:42 +0200 |
commit | 5daf50d5e45aece8b2acf5688f234cca49bc33c7 (patch) | |
tree | b5d449d248f59d80d5b725a3ab9caac5071e77e7 /check.am | |
parent | 8cd7aa2c68ed1648cd517c4e724eab8f1b6eebdc (diff) | |
download | dpkg-5daf50d5e45aece8b2acf5688f234cca49bc33c7.tar.gz |
build: Make test suite errors fatal again
We need to check in the aggregated results if any test had any problem,
and die accordingly.
Regression introduced in commit 34b26c7db232b300991df5fb6f52707b381df28f.
Closes: #746331
Diffstat (limited to 'check.am')
-rw-r--r-- | check.am | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,7 +17,8 @@ TEST_RUNNER = '\ verbosity => $(TEST_VERBOSE), \ failures => 1, \ }); \ - $$harness->runtests(@ARGV);' + my $$aggregate = $$harness->runtests(@ARGV); \ + die "FAIL: test suite has errors\n" if $$aggregate->has_errors;' check-clean: [ -z "$(test_tmpdir)" ] || rm -fr $(test_tmpdir) |