Commit c0a231bf32803eda9f7cc9ef7354096f732a7582
Committed by
Jay Berkenbilt
1 parent
b8ec4395
Reverse sense of compare images toggle for qpdf.test
Run compare images tests when QPDF_TEST_COMPARE_IMAGES is set rather than when QPDF_SKIP_TEST_COMPARE_IMAGES is not set.
Showing
1 changed file
with
4 additions
and
4 deletions
qpdf/qtest/qpdf.test
| ... | ... | @@ -20,11 +20,11 @@ cleanup(); |
| 20 | 20 | my $devNull = File::Spec->devnull(); |
| 21 | 21 | my $td = new TestDriver('qpdf'); |
| 22 | 22 | |
| 23 | -my $compare_images = 1; | |
| 24 | -if ((exists $ENV{'QPDF_SKIP_TEST_COMPARE_IMAGES'}) && | |
| 25 | - ($ENV{'QPDF_SKIP_TEST_COMPARE_IMAGES'} eq '1')) | |
| 23 | +my $compare_images = 0; | |
| 24 | +if ((exists $ENV{'QPDF_TEST_COMPARE_IMAGES'}) && | |
| 25 | + ($ENV{'QPDF_TEST_COMPARE_IMAGES'} eq '1')) | |
| 26 | 26 | { |
| 27 | - $compare_images = 0; | |
| 27 | + $compare_images = 1; | |
| 28 | 28 | } |
| 29 | 29 | my $large_file_test_path = $ENV{'QPDF_LARGE_FILE_TEST_PATH'} || undef; |
| 30 | 30 | if (defined($large_file_test_path)) | ... | ... |