Skip to content

Commit

Permalink
Downstream test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
exodist committed Sep 14, 2024
1 parent b2b6510 commit d9a732a
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions xt/downstream.t
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,10 @@ ok(run_string(<<"EOT"), "Installed LWP") || exit 1;
perlbrew exec --with $lib cpanm LWP
EOT

ok(run_string(<<"EOT"), "Installed Devel::Declare") || exit 1;
perlbrew exec --with $lib cpanm Devel::Declare
ok(run_string(<<"EOT"), "Installed Test2::Harness") || exit 1;
perlbrew exec --with $lib cpanm Test2::Harness
EOT

for my $i (qw/Suite Harness/) {
my $ok = 0;
for (1 .. 2) {
$ok = run_string(<<" EOT");
perlbrew exec --with $lib cpanm --installdeps --dev Test2::$i
EOT

$ok &&= run_string(<<" EOT");
perlbrew exec --with $lib cpanm --dev --reinstall Test2::$i
EOT

last if $ok;
diag "'Test2::$i' did not install properly, trying 1 more time.";
}
ok($ok, "Installed Test2::$i") || exit 1;
}

ok(run_string(<<"EOT"), "Installed Archive::Zip") || exit 1;
perlbrew exec --with $lib cpanm -n -f Archive::Zip
EOT
Expand Down

0 comments on commit d9a732a

Please sign in to comment.