Commit da42078d2f0a292bc7ff4e2699c9cb1b286156ef
1 parent
38500659
Exclude cygwin from fix-qdf pipe test
Also add debugging information so we can save time if $^O used in GitHub Actions changes again.
Showing
1 changed file
with
3 additions
and
3 deletions
qpdf/qtest/fix-qdf.test
| @@ -37,7 +37,7 @@ for (my $n = 1; $n <= 2; ++$n) | @@ -37,7 +37,7 @@ for (my $n = 1; $n <= 2; ++$n) | ||
| 37 | {$td->FILE => "fix$n.qdf.out", | 37 | {$td->FILE => "fix$n.qdf.out", |
| 38 | $td->EXIT_STATUS => 0}); | 38 | $td->EXIT_STATUS => 0}); |
| 39 | } | 39 | } |
| 40 | -if (! (($^O eq 'MSWin32') || ($^O eq 'Win32') || ($^O eq 'msys'))) | 40 | +if (! (($^O eq 'MSWin32') || ($^O eq 'Win32') || ($^O eq 'msys') || ($^O eq 'cygwin'))) |
| 41 | { | 41 | { |
| 42 | # The pipe tests are unstable on Windows. It has not been | 42 | # The pipe tests are unstable on Windows. It has not been |
| 43 | # determined whether this is because the code doesn't work or the | 43 | # determined whether this is because the code doesn't work or the |
| @@ -47,12 +47,12 @@ if (! (($^O eq 'MSWin32') || ($^O eq 'Win32') || ($^O eq 'msys'))) | @@ -47,12 +47,12 @@ if (! (($^O eq 'MSWin32') || ($^O eq 'Win32') || ($^O eq 'msys'))) | ||
| 47 | $n_tests += 4; | 47 | $n_tests += 4; |
| 48 | for (my $n = 1; $n <= 2; ++$n) | 48 | for (my $n = 1; $n <= 2; ++$n) |
| 49 | { | 49 | { |
| 50 | - $td->runtest("fix-qdf $n from pipe", | 50 | + $td->runtest("fix-qdf $n from pipe (os=$^O)", |
| 51 | {$td->COMMAND => "cat fix$n.qdf | fix-qdf "}, | 51 | {$td->COMMAND => "cat fix$n.qdf | fix-qdf "}, |
| 52 | {$td->FILE => "fix$n.qdf.out", | 52 | {$td->FILE => "fix$n.qdf.out", |
| 53 | $td->EXIT_STATUS => 0}); | 53 | $td->EXIT_STATUS => 0}); |
| 54 | 54 | ||
| 55 | - $td->runtest("identity fix-qdf $n", | 55 | + $td->runtest("identity fix-qdf $n (os=$^O)", |
| 56 | {$td->COMMAND => "fix-qdf fix$n.qdf.out"}, | 56 | {$td->COMMAND => "fix-qdf fix$n.qdf.out"}, |
| 57 | {$td->FILE => "fix$n.qdf.out", | 57 | {$td->FILE => "fix$n.qdf.out", |
| 58 | $td->EXIT_STATUS => 0}); | 58 | $td->EXIT_STATUS => 0}); |