Simplify test skipping
Change-Id: I45ca4998e50f60849f6f44544f3c8d22f33ac91c
diff --git a/t/real/agd.t b/t/real/agd.t
index 32f4008..f9b7ecc 100644
--- a/t/real/agd.t
+++ b/t/real/agd.t
@@ -6,6 +6,10 @@
use Log::Log4perl;
use utf8;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/bzk.t b/t/real/bzk.t
index f45200f..bb5a2f2 100644
--- a/t/real/bzk.t
+++ b/t/real/bzk.t
@@ -5,6 +5,10 @@
use JSON::XS;
use Log::Log4perl;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/bzk_2.t b/t/real/bzk_2.t
index 3e39924..d957b6b 100644
--- a/t/real/bzk_2.t
+++ b/t/real/bzk_2.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/drukola.t b/t/real/drukola.t
index 9a92444..7f7b6ab 100644
--- a/t/real/drukola.t
+++ b/t/real/drukola.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/goethe-2.t b/t/real/goethe-2.t
index 691889d..4cc0ede 100644
--- a/t/real/goethe-2.t
+++ b/t/real/goethe-2.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/goethe-tagged.t b/t/real/goethe-tagged.t
index 13d9365..4a547bf 100644
--- a/t/real/goethe-tagged.t
+++ b/t/real/goethe-tagged.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/goethe.t b/t/real/goethe.t
index 03af7cc..25a71c8 100644
--- a/t/real/goethe.t
+++ b/t/real/goethe.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/hnc.t b/t/real/hnc.t
index 5e44f6b..d7775d7 100644
--- a/t/real/hnc.t
+++ b/t/real/hnc.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/lwc.t b/t/real/lwc.t
index 1c104a5..0998711 100644
--- a/t/real/lwc.t
+++ b/t/real/lwc.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/ngafc.t b/t/real/ngafc.t
index 90f7392..346332a 100644
--- a/t/real/ngafc.t
+++ b/t/real/ngafc.t
@@ -15,6 +15,10 @@
use JSON::XS;
use Log::Log4perl;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/rei.t b/t/real/rei.t
index e08516d..3b75f4c 100644
--- a/t/real/rei.t
+++ b/t/real/rei.t
@@ -5,6 +5,10 @@
use JSON::XS;
use Log::Log4perl;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use utf8;
use lib 'lib', '../lib';
diff --git a/t/real/rwk.t b/t/real/rwk.t
index c0401c1..be96f25 100644
--- a/t/real/rwk.t
+++ b/t/real/rwk.t
@@ -5,6 +5,10 @@
use JSON::XS;
use Log::Log4perl;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use utf8;
use lib 'lib', '../lib';
diff --git a/t/real/wdd.t b/t/real/wdd.t
index 2b44500..c8c50b4 100644
--- a/t/real/wdd.t
+++ b/t/real/wdd.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/wpd.t b/t/real/wpd.t
index e45db0a..9bb0661 100644
--- a/t/real/wpd.t
+++ b/t/real/wpd.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/wpe.t b/t/real/wpe.t
index 962b361..9928344 100644
--- a/t/real/wpe.t
+++ b/t/real/wpe.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;
diff --git a/t/real/wpf.t b/t/real/wpf.t
index ba6fb94..c3bec5a 100644
--- a/t/real/wpf.t
+++ b/t/real/wpf.t
@@ -4,6 +4,10 @@
use Data::Dumper;
use JSON::XS;
+if ($ENV{SKIP_REAL}) {
+ plan skip_all => 'Skip real tests';
+};
+
use Benchmark qw/:hireswallclock/;
my $t = Benchmark->new;