Skip to content

Commit

Permalink
Convert test to more up-to-date testing procedure (Parrot::Configure:…
Browse files Browse the repository at this point in the history
…:Step::Test).

git-svn-id: https://svn.parrot.org/parrot/trunk@49548 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
jkeenan committed Oct 15, 2010
1 parent 10b8e1b commit a1e472f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions t/steps/auto/stat-01.t
Expand Up @@ -5,15 +5,13 @@

use strict;
use warnings;
use Test::More tests => 20;
use Test::More tests => 10;
use lib qw( lib t/configure/testlib );
use_ok('config::init::defaults');
use_ok('config::inter::progs');
use_ok('config::auto::stat');
use Parrot::Configure;
use Parrot::Configure::Options qw( process_options );
use Parrot::Configure::Step::Test;
use Parrot::Configure::Test qw(
test_step_thru_runstep
test_step_constructor_and_description
);

Expand All @@ -24,10 +22,8 @@ my ($args, $step_list_ref) = process_options( {
mode => q{configure},
} );

my $conf = Parrot::Configure->new;

test_step_thru_runstep($conf, q{init::defaults}, $args);
test_step_thru_runstep($conf, q{inter::progs}, $args);
my $conf = Parrot::Configure::Step::Test->new;
$conf->include_config_results( $args );

my $pkg = q{auto::stat};

Expand Down

0 comments on commit a1e472f

Please sign in to comment.