From a734af681b62a8fc49d51c1a78f28ace1e35a513 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 5 Mar 2022 08:18:54 -0500 Subject: 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. --- examples/qtest/mod-info.test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/qtest/mod-info.test') 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}); -- cgit v1.2.3-54-g00ecf