From: Gleb Fotengauer-Malinovskiy Date: Tue, 24 Jul 2018 16:37:43 +0000 (+0300) Subject: test: Make perl tests report success or failure X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=bd56f129f8c84654a1f9c6273aaf2d204cf22cfb;p=openssl-gost%2Fengine.git test: Make perl tests report success or failure Co-authored-by: Mikhail Gordeev (cherry picked from commit 0329b9a709d7467284fdde076fa63cec7834980d) --- diff --git a/test/run_tests b/test/run_tests index ad93e3f..3578d0a 100644 --- a/test/run_tests +++ b/test/run_tests @@ -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);