From: Jess Robinson Date: Tue, 1 May 2012 11:29:13 +0000 (+0000) Subject: Only run the load-save test manually, skip for make/prove X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=278698b1bacdd6f828896a613aaeac721ea802bd;p=scpubgit%2Fstemmatology.git Only run the load-save test manually, skip for make/prove --- diff --git a/t/load-save-speed.t b/t/load-save-speed.t index 9a6ee13..dc19b09 100644 --- a/t/load-save-speed.t +++ b/t/load-save-speed.t @@ -9,7 +9,15 @@ use File::Path 'mkpath'; use Text::Tradition; use Text::Tradition::Directory; -use Test::More 'no_plan'; +use Test::More; + +## Don't run this test when running make test or prove, to run it use perl -Ilib t/load-save-speed.t + +if($ENV{HARNESS_ACTIVE}) { + plan skip_all => 'Skipping performance tests under prove/make, run manually to test performance improvements'; +} else { + plan 'no_plan'; +} ## Using t/data/besoin.xml / t/data/besoin.dot as a large test example: my $test_name = 'besoin';