aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest/mod-info.test
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-03-05 14:18:54 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-03-19 00:53:18 +0100
commita734af681b62a8fc49d51c1a78f28ace1e35a513 (patch)
treec9c4c51898d110f7f794eeefc74fb81d5fb9b7f0 /examples/qtest/mod-info.test
parent6941923ca90e1703700ce6ffbb96a9eb38032ac4 (diff)
downloadqpdf-a734af681b62a8fc49d51c1a78f28ace1e35a513.tar.zst
Run qpdf from path rather than environment variable in tests
With cmake, we are customizing the path for each test suite so we can ensure we get the right qpdf without having to use an environment variable.
Diffstat (limited to 'examples/qtest/mod-info.test')
-rw-r--r--examples/qtest/mod-info.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/qtest/mod-info.test b/examples/qtest/mod-info.test
index ec09df9e..f5d1d774 100644
--- a/examples/qtest/mod-info.test
+++ b/examples/qtest/mod-info.test
@@ -11,7 +11,6 @@ require TestDriver;
my $td = new TestDriver('pdf-mod-info');
my $prg = "pdf-mod-info";
-my $qpdf = $ENV{'QPDF_BIN'} or die;
cleanup();
@@ -93,7 +92,7 @@ sub run_and_cmp
{$td->STRING => $out,
$td->EXIT_STATUS => 0});
$td->runtest("$dsc output",
- {$td->COMMAND => "$qpdf --static-id" .
+ {$td->COMMAND => "qpdf --static-id" .
" --no-original-object-ids -qdf $fout -"},
{$td->FILE => $fexp,
$td->EXIT_STATUS => 0});