diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-02-21 15:06:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-02-21 15:06:10 +0000 |
commit | 8c49cd2ecb031334c3b7b36adf2fa26415e7f538 (patch) | |
tree | 277cbd7a8f04d6dfd9e64d7011764ee2ae5f2f83 /t/test.pl | |
parent | e55b089a984517eb26e82f4ab40b82f3ef47b0eb (diff) | |
download | perl-8c49cd2ecb031334c3b7b36adf2fa26415e7f538.tar.gz |
Add skip_if_miniperl() to test.pl, and use it in op/hashassign.t and re/re.t
In both, skip blocks which have tests which require a module which needs
dynamic loading, to make both pass again under minitest.
Diffstat (limited to 't/test.pl')
-rw-r--r-- | t/test.pl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -366,6 +366,10 @@ sub skip { last SKIP; } +sub skip_if_miniperl { + skip(@_) if !defined &DynaLoader::boot_DynaLoader; +} + sub todo_skip { my $why = shift; my $n = @_ ? shift : 1; |