]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
test: Make perl tests report success or failure
authorGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Tue, 24 Jul 2018 16:37:43 +0000 (19:37 +0300)
committerGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Tue, 21 Aug 2018 16:37:10 +0000 (19:37 +0300)
Co-authored-by: Mikhail Gordeev <obirvalger@altlinux.org>
(cherry picked from commit 0329b9a709d7467284fdde076fa63cec7834980d)

test/run_tests

index ad93e3f23d145a58d74ae88e6cc18133779b8717..3578d0a62073556833fb224785cc1b319815922c 100644 (file)
@@ -2,4 +2,4 @@
 use TAP::Harness;
 
 my $harness = TAP::Harness->new();
-$harness->runtests(glob("*.t"));
+exit ($harness->runtests(glob("*.t"))->all_passed() ? 0 : 1);