Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update t/steps/auto tests to reflect change in 'results'.

  • Loading branch information...
commit cdc9969e3421382ed034e35f840a54cca5f1f6e9 1 parent f904acb
@jkeenan jkeenan authored
View
4 t/steps/auto/gettext-01.t
@@ -1,5 +1,5 @@
#! perl
-# Copyright (C) 2007, Parrot Foundation.
+# Copyright (C) 2008-2013, Parrot Foundation.
# auto/gettext-01.t
use strict;
@@ -39,7 +39,7 @@ my $ret = $step->runstep($conf);
ok( $ret, "runstep() returned true value" );
is($conf->data->get('has_gettext'), 0,
"Got expected value for 'has_gettext'");
-is($step->result(), q{no}, "Expected result was set");
+is($step->result(), q{skipped}, "Expected result was set");
$conf->replenish($serialized);
View
6 t/steps/auto/icu-01.t
@@ -1,5 +1,5 @@
#! perl
-# Copyright (C) 2007-2008, Parrot Foundation.
+# Copyright (C) 2007-2013, Parrot Foundation.
# auto/icu-01.t
use strict;
@@ -51,7 +51,7 @@ is( $conf->data->get('icu_shared'), q{},
"Got expected value for 'icu_shared'" );
is( $conf->data->get('icu_dir'), q{},
"Got expected value for 'icu_dir'" );
-is( $step->result(), 'not requested', "Got expected result" );
+is( $step->result(), 'skipped', "Got expected result" );
$step->set_result(q{}); # prepare for subsequent tests
########## _handle_icuconfig_opt() ##########
@@ -493,7 +493,7 @@ is( $conf->data->get('icu_shared'), q{},
"Got expected value for 'icu_shared'" );
is( $conf->data->get('icu_dir'), q{},
"Got expected value for 'icu_dir'" );
-is( $step->result(), 'not requested', "Got expected result" );
+is( $step->result(), 'skipped', "Got expected result" );
$conf->replenish($serialized);
View
4 t/steps/auto/libffi-01.t
@@ -1,5 +1,5 @@
#!perl
-# Copyright (C) 2010, Parrot Foundation.
+# Copyright (C) 2010-2013, Parrot Foundation.
# auto/libffi-01.t
use strict;
@@ -78,7 +78,7 @@ $conf->data->set( has_libffi => undef );
$conf->options->set(%{$args});
$step->runstep($conf);
-is( $step->result(), q{no}, "Got expected result" );
+is( $step->result(), q{skipped}, "Got expected result" );
is( $conf->data->get( 'HAS_LIBFFI' ), 0,
"'libffi' set to false value as expected" );
View
12 t/steps/auto/llvm-01.t
@@ -1,5 +1,5 @@
#!perl
-# Copyright (C) 2001-2012, Parrot Foundation.
+# Copyright (C) 2009-2013, Parrot Foundation.
# auto/llvm-01.t
use strict;
@@ -36,8 +36,8 @@ $conf->options->set( %{$args} );
my $step = test_step_constructor_and_description($conf);
my $ret = $step->runstep($conf);
ok( $ret, "runstep() returned true value" );
-like( $step->result(), qr/no/,
- "LLVM not requested; hence result is 'no'" );
+like( $step->result(), qr/skipped/,
+ "LLVM not requested; hence result is 'skipped'" );
ok( ! $conf->data->get( 'has_llvm' ),
"'has_llvm' set to false value, as expected" );
@@ -58,11 +58,11 @@ $step = test_step_constructor_and_description($conf);
\$stdout
);
ok( $ret, "runstep() returned true value" );
- like( $step->result(), qr/no/,
- "LLVM not requested; hence result is 'no'" );
+ like( $step->result(), qr/skipped/,
+ "LLVM not requested; hence result is 'skipped'" );
ok( ! $conf->data->get( 'has_llvm' ),
"'has_llvm' set to false value, as expected" );
- like( $stdout, qr/LLVM not requested/s,
+ like( $stdout, qr/--with-llvm not requested/s,
"LLVM not requested; got expected verbose output" );
}
View
4 t/steps/auto/opengl-01.t
@@ -1,5 +1,5 @@
#! perl
-# Copyright (C) 2007-2008, Parrot Foundation.
+# Copyright (C) 2007-2013, Parrot Foundation.
# auto/opengl-01.t
use strict;
@@ -35,7 +35,7 @@ $conf->add_steps($pkg);
$conf->options->set( %{$args} );
my $step = test_step_constructor_and_description($conf);
ok( $step->runstep($conf), "runstep() returned true value");
-is( $step->result(), 'no', "Got expected result" );
+is( $step->result(), 'skipped', "Got expected result" );
is( $conf->data->get( 'has_opengl' ), 0,
"Got expected value for 'has_opengl'");
View
4 t/steps/auto/pcre-01.t
@@ -1,5 +1,5 @@
#! perl
-# Copyright (C) 2007-2008, Parrot Foundation.
+# Copyright (C) 2008-2013, Parrot Foundation.
# auto/pcre-01.t
use strict;
@@ -35,7 +35,7 @@ $conf->add_steps($pkg);
$conf->options->set( %{$args} );
my $step = test_step_constructor_and_description($conf);
ok( $step->runstep($conf), "runstep() returned true value");
-is( $step->result(), 'no', "Got expected result" );
+is( $step->result(), 'skipped', "Got expected result" );
is( $conf->data->get( 'HAS_PCRE' ), 0,
"Got expected value for 'HAS_PCRE'");
View
4 t/steps/auto/thread-01.t
@@ -1,5 +1,5 @@
#! perl
-# Copyright (C) 2009, Parrot Foundation.
+# Copyright (C) 2009-2013, Parrot Foundation.
use strict;
use warnings;
@@ -37,7 +37,7 @@ my $ret = $step->runstep($conf);
ok( $ret, "runstep() returned true value" );
is($conf->data->get('HAS_THREADS'), 0,
"Got expected value for 'HAS_THREADS'");
-is($step->result(), q{no}, "Expected result was set");
+is($step->result(), q{skipped}, "Expected result was set");
$conf->replenish($serialized);
View
4 t/steps/auto/zlib-01.t
@@ -1,5 +1,5 @@
#! perl
-# Copyright (C) 2010, Parrot Foundation.
+# Copyright (C) 2010-2013, Parrot Foundation.
use strict;
use warnings;
@@ -38,7 +38,7 @@ my $ret = $step->runstep($conf);
ok( $ret, "runstep() returned true value" );
is($conf->data->get('has_zlib'), 0,
"Got expected value for 'has_zlib'");
-is($step->result(), q{no}, "Expected result was set");
+is($step->result(), q{skipped}, "Expected result was set");
$conf->replenish($serialized);
Please sign in to comment.
Something went wrong with that request. Please try again.