use Test::More tests => 120; ... SKIP: { skip "skipping really long tests", 95 unless $ENV{ALL_TESTS}; ... 95 tests here ... }