]> 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)
committerVitaly Chikunov <vt@altlinux.org>
Wed, 25 Jul 2018 08:00:00 +0000 (11:00 +0300)
Co-authored-by: Mikhail Gordeev <obirvalger@altlinux.org>
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);