[Bioperl-guts-l] [16823] bioperl-live/trunk/Bio/Root/Test.pm: export done_testing if it is present (shouldn' t use this in final tests until we upgrade the lib version, but it is awfully convenient)
Christopher John Fields
cjfields at dev.open-bio.org
Sun Feb 7 14:23:12 EST 2010
Revision: 16823
Author: cjfields
Date: 2010-02-07 14:23:11 -0500 (Sun, 07 Feb 2010)
Log Message:
-----------
export done_testing if it is present (shouldn't use this in final tests until we upgrade the lib version, but it is awfully convenient)
Modified Paths:
--------------
bioperl-live/trunk/Bio/Root/Test.pm
Modified: bioperl-live/trunk/Bio/Root/Test.pm
===================================================================
--- bioperl-live/trunk/Bio/Root/Test.pm 2010-02-07 04:44:09 UTC (rev 16822)
+++ bioperl-live/trunk/Bio/Root/Test.pm 2010-02-07 19:23:11 UTC (rev 16823)
@@ -184,6 +184,10 @@
float_is
);
+if (Test::More->can('done_testing')) {
+ push @EXPORT, 'done_testing';
+}
+
our $GLOBAL_FRAMEWORK = 'Test::More';
our @TEMP_FILES;
More information about the Bioperl-guts-l
mailing list