diff options
author | Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> | 2018-07-24 19:37:43 +0300 |
---|---|---|
committer | Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> | 2018-08-21 19:37:10 +0300 |
commit | bd56f129f8c84654a1f9c6273aaf2d204cf22cfb (patch) | |
tree | 902dfb129d8aa7132eb3838e8c5131c0b3cf7a8c | |
parent | cfc90df2e0d978907c65c8bd3558507b82b59eb9 (diff) | |
download | gost-engine-bd56f129f8c84654a1f9c6273aaf2d204cf22cfb.zip gost-engine-bd56f129f8c84654a1f9c6273aaf2d204cf22cfb.tar.gz gost-engine-bd56f129f8c84654a1f9c6273aaf2d204cf22cfb.tar.bz2 |
test: Make perl tests report success or failure
Co-authored-by: Mikhail Gordeev <obirvalger@altlinux.org>
(cherry picked from commit 0329b9a709d7467284fdde076fa63cec7834980d)
-rw-r--r-- | test/run_tests | 2 |
1 files changed, 1 insertions, 1 deletions
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); |