projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f6ac1f
)
Do not test unless $ENV{RUN_TESTS} is true
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 1 Feb 2014 20:20:30 +0000
(22:20 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 1 Feb 2014 20:20:30 +0000
(22:20 +0200)
t/Gruntmaster-Data.t
patch
|
blob
|
blame
|
history
diff --git
a/t/Gruntmaster-Data.t
b/t/Gruntmaster-Data.t
index 51a3cef22bfbcb1e386ece4b2d132bac32fb154f..b2786fd3e28be5ae40a90691a16769d1a69ad653 100644
(file)
--- a/
t/Gruntmaster-Data.t
+++ b/
t/Gruntmaster-Data.t
@@
-1,18
+1,10
@@
-#
Before 'make install' is performed this script should be runnable with
-# 'make test'. After 'make install' it should work as 'perl Gruntmaster-Data.t'
+#
!/usr/bin/perl -w
+use v5.14;
-#########################
+use Test::More;
+BEGIN {
+ plan skip_all => '$ENV{RUN_TESTS} is false, skipping tests' unless $ENV{RUN_TESTS};
+ plan tests => 1;
+}
-# change 'tests => 1' to 'tests => last_test_to_print';
-
-use strict;
-use warnings;
-
-use Test::More tests => 1;
BEGIN { use_ok('Gruntmaster::Data') };
BEGIN { use_ok('Gruntmaster::Data') };
-
-#########################
-
-# Insert your test code below, the Test::More module is use()ed here so read
-# its man page ( perldoc Test::More ) for help writing this test script.
-
This page took
0.011486 seconds
and
4
git commands to generate.