aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Schöning <tschoening@users.noreply.github.com>2015-11-23 15:40:04 +0100
committerJay Berkenbilt <ejb@ql.org>2016-01-24 17:52:09 +0100
commiteff935ab60095c54df3d5beec63fc1b3569bdc11 (patch)
tree08d64f07b5732bbaa4fd8f09836accf5535c391e
parentadbaa54ad43ffb3fd436704d621fe0df9562987b (diff)
downloadqpdf-eff935ab60095c54df3d5beec63fc1b3569bdc11.tar.zst
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.
-rw-r--r--qpdf/qtest/qpdf.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test
index 8d4f0638..fd5f2236 100644
--- a/qpdf/qtest/qpdf.test
+++ b/qpdf/qtest/qpdf.test
@@ -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;