[svn:parrot] r42298 - branches/configtests/t/steps/auto

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Fri Nov 6 03:36:41 UTC 2009


Author: jkeenan
Date: Fri Nov  6 03:36:30 2009
New Revision: 42298
URL: https://trac.parrot.org/parrot/changeset/42298

Log:
Continue to convert steps tests to use of Parrot configuration data.

Modified:
   branches/configtests/t/steps/auto/cpu-01.t

Modified: branches/configtests/t/steps/auto/cpu-01.t
==============================================================================
--- branches/configtests/t/steps/auto/cpu-01.t	Fri Nov  6 02:57:57 2009	(r42297)
+++ branches/configtests/t/steps/auto/cpu-01.t	Fri Nov  6 03:36:30 2009	(r42298)
@@ -5,7 +5,7 @@
 
 use strict;
 use warnings;
-use Test::More qw(no_plan); # tests =>  22;
+use Test::More tests =>  14;
 use Carp;
 use lib qw( lib t/configure/testlib );
 use_ok('config::auto::cpu');
@@ -26,12 +26,13 @@
 my $conf = Parrot::Configure::Step::Test->new;
 $conf->include_config_results( $args );
 
+my ($pkg, $step);
 my $serialized = $conf->pcfreeze();
 
-my $pkg = q{auto::cpu};
+$pkg = q{auto::cpu};
 $conf->add_steps($pkg);
 $conf->options->set( %{$args} );
-my $step = test_step_constructor_and_description($conf);
+$step = test_step_constructor_and_description($conf);
 {
     $conf->data->set('cpuarch' => 'foobar');
     my ($ret, $stdout);
@@ -48,6 +49,7 @@
 }
 
 $conf->replenish($serialized);
+$conf->options->set( 'verbose' => undef );
 
 ########### mock cpuarch ###########
 


More information about the parrot-commits mailing list