From 0329b9a709d7467284fdde076fa63cec7834980d Mon Sep 17 00:00:00 2001 From: Gleb Fotengauer-Malinovskiy Date: Tue, 24 Jul 2018 19:37:43 +0300 Subject: [PATCH] test: Make perl tests report success or failure Co-authored-by: Mikhail Gordeev --- test/run_tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5