This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add skip_all_without_config() to test.pl, and use it in 6 tests.
authorNicholas Clark <nick@ccl4.org>
Mon, 7 Mar 2011 19:25:13 +0000 (19:25 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 7 Mar 2011 19:25:13 +0000 (19:25 +0000)
commit9c8416b2f966e2868aea89c8c24ff2774a4c6d75
treebd05f2c6525d53ea3954c207f9e4870cf21fce0d
parent991b87804e286479de011fbef06fb073174aed77
Add skip_all_without_config() to test.pl, and use it in 6 tests.

This abstracts out the common idiom of loading Config, checking if a particular
key is true, and if not implementing a "skip all" with an appropriate reason.
t/op/getpid.t
t/op/getppid.t
t/op/threads-dirh.t
t/op/threads.t
t/run/cloexec.t
t/run/runenv.t
t/test.pl