mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-16 17:02:22 +00:00
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.
This commit is contained in:
parent
b8ec4395e7
commit
c0a231bf32
|
@ -20,11 +20,11 @@ cleanup();
|
||||||
my $devNull = File::Spec->devnull();
|
my $devNull = File::Spec->devnull();
|
||||||
my $td = new TestDriver('qpdf');
|
my $td = new TestDriver('qpdf');
|
||||||
|
|
||||||
my $compare_images = 1;
|
my $compare_images = 0;
|
||||||
if ((exists $ENV{'QPDF_SKIP_TEST_COMPARE_IMAGES'}) &&
|
if ((exists $ENV{'QPDF_TEST_COMPARE_IMAGES'}) &&
|
||||||
($ENV{'QPDF_SKIP_TEST_COMPARE_IMAGES'} eq '1'))
|
($ENV{'QPDF_TEST_COMPARE_IMAGES'} eq '1'))
|
||||||
{
|
{
|
||||||
$compare_images = 0;
|
$compare_images = 1;
|
||||||
}
|
}
|
||||||
my $large_file_test_path = $ENV{'QPDF_LARGE_FILE_TEST_PATH'} || undef;
|
my $large_file_test_path = $ENV{'QPDF_LARGE_FILE_TEST_PATH'} || undef;
|
||||||
if (defined($large_file_test_path))
|
if (defined($large_file_test_path))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user