make run_assets.t work

This commit is contained in:
Doug Bell 2010-11-05 22:38:38 -05:00
parent 976ea07763
commit 3fbf3ffd9b

View file

@ -15,8 +15,10 @@ use Test::Class;
use Module::Find;
use lib rel2abs( catdir ( dirname( __FILE__ ), 'tests' ) );
plan skip_all => "Extremely slow asset tests only run if WEBGUI_ASSET_TESTS set"
unless $ENV{WEBGUI_ASSET_TESTS};
useall('Test::WebGUI::Asset');
BEGIN {
plan skip_all => "Extremely slow asset tests only run if WEBGUI_ASSET_TESTS set"
unless $ENV{WEBGUI_ASSET_TESTS};
useall('Test::WebGUI::Asset');
}
Test::Class->runtests;