2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-01 01:40:51 +00:00

Use absolute paths for large file tests

Working with absolute paths makes debugging easier, but some called
scripts always need / as dir separator or won't work.
This commit is contained in:
Thorsten Schöning 2015-11-23 15:40:04 +01:00 committed by Jay Berkenbilt
parent adbaa54ad4
commit eff935ab60

View File

@ -24,6 +24,11 @@ if ((exists $ENV{'QPDF_SKIP_TEST_COMPARE_IMAGES'}) &&
$compare_images = 0;
}
my $large_file_test_path = $ENV{'QPDF_LARGE_FILE_TEST_PATH'} || undef;
if (defined($large_file_test_path))
{
$large_file_test_path = File::Spec->rel2abs($large_file_test_path);
$large_file_test_path =~ s!\\!/!g;
}
my $have_acroread = 0;