Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[t/harness] only provide extra_properties when we use ::Archive
This unbreaks 'make $path_to_one_file.t'
  • Loading branch information
moritz committed Sep 27, 2009
1 parent 834929c commit a61b17f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions t/harness
Expand Up @@ -60,10 +60,12 @@ my $tap_harness_class = 'TAP::Harness';
$tap_harness_class .= '::Archive' if $archive;

my $extra_properties;
$extra_properties->{'Parrot Revision'} = $parrot_revision
if $parrot_revision;
$extra_properties->{'Submitter'} = $ENV{SMOLDER_SUBMITTER}
if $ENV{SMOLDER_SUBMITTER};
if ($archive) {
$extra_properties->{'Parrot Revision'} = $parrot_revision
if $parrot_revision;
$extra_properties->{'Submitter'} = $ENV{SMOLDER_SUBMITTER}
if $ENV{SMOLDER_SUBMITTER};
}

if (eval "require $tap_harness_class;") {
my %harness_options = (
Expand Down

0 comments on commit a61b17f

Please sign in to comment.