Author: jkeenan
Date: Wed Apr 18 20:05:37 2007
New Revision: 18284
Modified:
branches/reconfigure/t/configure/02-messages.t
branches/reconfigure/t/configure/03-steplist.t
branches/reconfigure/t/configure/04-configure.t
branches/reconfigure/t/configure/05-run_one_step.t
branches/reconfigure/t/configure/06-bad_step.t
branches/reconfigure/t/configure/07-verbose_two.t
branches/reconfigure/t/configure/08-verbose_step_number.t
branches/reconfigure/t/configure/09-verbose_step_regex.t
branches/reconfigure/t/configure/10-verbose_step_number_not_called.t
branches/reconfigure/t/configure/11-no_description.t
branches/reconfigure/t/configure/12-verbose.t
branches/reconfigure/t/configure/13-die.t
branches/reconfigure/t/configure/14-params.t
branches/reconfigure/t/configure/15-no_return.t
branches/reconfigure/t/configure/16-no_return_but_result.t
Log:
POD correction: No longer using directory t/configure/components/. All tests
are simply in t/configure/ instead.
Modified: branches/reconfigure/t/configure/02-messages.t
==============================================================================
--- branches/reconfigure/t/configure/02-messages.t (original)
+++ branches/reconfigure/t/configure/02-messages.t Wed Apr 18 20:05:37 2007
@@ -80,7 +80,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/02-messages.t
+ % prove t/configure02-messages.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/03-steplist.t
==============================================================================
--- branches/reconfigure/t/configure/03-steplist.t (original)
+++ branches/reconfigure/t/configure/03-steplist.t Wed Apr 18 20:05:37 2007
@@ -43,7 +43,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/03-steplist.t
+ % prove t/configure03-steplist.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/04-configure.t
==============================================================================
--- branches/reconfigure/t/configure/04-configure.t (original)
+++ branches/reconfigure/t/configure/04-configure.t Wed Apr 18 20:05:37 2007
@@ -53,7 +53,6 @@
my $conf = Parrot::Configure->new;
ok(defined $conf, "Parrot::Configure->new() returned okay");
-# print STDERR Dumper $conf, "\n";
isa_ok($conf, "Parrot::Configure");
my $newconf = Parrot::Configure->new;
@@ -100,10 +99,21 @@
is($conf->options->{c}->{debugging}, 1,
"command-line option '--debugging' has been stored in object");
-eval { $conf->data()->slurp(); };
-like($@,
- qr/You cannot use --step until you have completed the full configure
process/,
- "Got expected error message when using --step option without prior
completed configuration");
+my $res = eval "no strict; use Parrot::Config; \\%PConfig";
+SKIP: {
+ my $reason = <<REASON;
+If you have already completed configuration,
+you can call Parrot::Configure::Data::slurp().
+But here you are testing for that method's failure.
+REASON
+
+ skip $reason, 1 if defined $res;
+
+ eval { $conf->data()->slurp(); };
+ like($@,
+ qr/You cannot use --step until you have completed the full configure
process/,
+ "Got expected error message when using --step option without prior
completed configuration");
+}
pass("Completed all tests in $0");
@@ -115,7 +125,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/04-configure.t
+ % prove t/configure04-configure.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/05-run_one_step.t
==============================================================================
--- branches/reconfigure/t/configure/05-run_one_step.t (original)
+++ branches/reconfigure/t/configure/05-run_one_step.t Wed Apr 18 20:05:37 2007
@@ -113,7 +113,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/05-run_one_step.t
+ % prove t/configure05-run_one_step.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/06-bad_step.t
==============================================================================
--- branches/reconfigure/t/configure/06-bad_step.t (original)
+++ branches/reconfigure/t/configure/06-bad_step.t Wed Apr 18 20:05:37 2007
@@ -87,7 +87,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/06-bad_step.t
+ % prove t/configure06-bad_step.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/07-verbose_two.t
==============================================================================
--- branches/reconfigure/t/configure/07-verbose_two.t (original)
+++ branches/reconfigure/t/configure/07-verbose_two.t Wed Apr 18 20:05:37 2007
@@ -97,7 +97,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/07-verbose_two.t
+ % prove t/configure07-verbose_two.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/08-verbose_step_number.t
==============================================================================
--- branches/reconfigure/t/configure/08-verbose_step_number.t (original)
+++ branches/reconfigure/t/configure/08-verbose_step_number.t Wed Apr 18
20:05:37 2007
@@ -97,7 +97,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/08-verbose_step_number.t
+ % prove t/configure08-verbose_step_number.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/09-verbose_step_regex.t
==============================================================================
--- branches/reconfigure/t/configure/09-verbose_step_regex.t (original)
+++ branches/reconfigure/t/configure/09-verbose_step_regex.t Wed Apr 18
20:05:37 2007
@@ -97,7 +97,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/09-verbose_step_regex.t
+ % prove t/configure09-verbose_step_regex.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/10-verbose_step_number_not_called.t
==============================================================================
--- branches/reconfigure/t/configure/10-verbose_step_number_not_called.t
(original)
+++ branches/reconfigure/t/configure/10-verbose_step_number_not_called.t
Wed Apr 18 20:05:37 2007
@@ -97,7 +97,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/10-verbose_step_number_not_called.t
+ % prove t/configure10-verbose_step_number_not_called.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/11-no_description.t
==============================================================================
--- branches/reconfigure/t/configure/11-no_description.t (original)
+++ branches/reconfigure/t/configure/11-no_description.t Wed Apr 18
20:05:37 2007
@@ -97,7 +97,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/11-no_description.t
+ % prove t/configure11-no_description.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/12-verbose.t
==============================================================================
--- branches/reconfigure/t/configure/12-verbose.t (original)
+++ branches/reconfigure/t/configure/12-verbose.t Wed Apr 18 20:05:37 2007
@@ -97,7 +97,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/12-verbose.t
+ % prove t/configure12-verbose.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/13-die.t
==============================================================================
--- branches/reconfigure/t/configure/13-die.t (original)
+++ branches/reconfigure/t/configure/13-die.t Wed Apr 18 20:05:37 2007
@@ -102,7 +102,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/13-die.t
+ % prove t/configure13-die.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/14-params.t
==============================================================================
--- branches/reconfigure/t/configure/14-params.t (original)
+++ branches/reconfigure/t/configure/14-params.t Wed Apr 18 20:05:37 2007
@@ -100,7 +100,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/14-params.t
+ % prove t/configure14-params.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/15-no_return.t
==============================================================================
--- branches/reconfigure/t/configure/15-no_return.t (original)
+++ branches/reconfigure/t/configure/15-no_return.t Wed Apr 18 20:05:37 2007
@@ -104,7 +104,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/15-no_return.t
+ % prove t/configure15-no_return.t
=head1 DESCRIPTION
Modified: branches/reconfigure/t/configure/16-no_return_but_result.t
==============================================================================
--- branches/reconfigure/t/configure/16-no_return_but_result.t (original)
+++ branches/reconfigure/t/configure/16-no_return_but_result.t Wed Apr 18
20:05:37 2007
@@ -105,7 +105,7 @@
=head1 SYNOPSIS
- % prove t/configure/components/16-no_return_but_result.t
+ % prove t/configure16-no_return_but_result.t
=head1 DESCRIPTION