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;