mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-08 17:24:06 +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:
parent
adbaa54ad4
commit
eff935ab60
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user