summaryrefslogtreecommitdiff
path: root/t/pm/Channels.pl
diff options
context:
space:
mode:
authorMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-06-26 14:57:59 +0200
committerMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-06-26 14:57:59 +0200
commit45e7e85f0bc4798ef6ff7cbd3443c55aa642774b (patch)
tree28f4310d80336bb203cab12a171f7b04a3db181a /t/pm/Channels.pl
parent6e4030d97ce00ac8aaf130f6cc2ce8bd23b141c7 (diff)
downloadautomake-45e7e85f0bc4798ef6ff7cbd3443c55aa642774b.tar.gz
t/pm: Fix fake XFAIL perl tests
Use eval to fix fail XFAIL perl test and catch fatal errors. * t/pm: No more XFAIL perl tests
Diffstat (limited to 't/pm/Channels.pl')
-rw-r--r--t/pm/Channels.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/pm/Channels.pl b/t/pm/Channels.pl
index a929750ff..b7d0b0a19 100644
--- a/t/pm/Channels.pl
+++ b/t/pm/Channels.pl
@@ -18,4 +18,9 @@
use Automake::Channels;
use Automake::Location;
-msg ('test-fatal', new Automake::Location ('.'), "Test Message");
+eval { msg ('test-fatal', new Automake::Location ('.'), "Test Message") };
+
+warn $@ if $@;
+
+exit 0 if $@;
+exit 1;