diff options
-rw-r--r-- | debian/changelog | 4 | ||||
-rwxr-xr-x | test/test | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 9bb3694..69377f8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ -pandoc-citeproc-preamble (1.5-2) UNRELEASED; urgency=medium +pandoc-citeproc-preamble (1.6-1) UNRELEASED; urgency=medium * Drop mistaken Tests: field from d/tests/control. + * Fix test/test to use /usr/bin/pandoc-citeproc-preamble when + AUTOPKGTEST_TMP is set. -- Sean Whitton <spwhitton@spwhitton.name> Sun, 26 Jul 2020 14:41:21 -0700 @@ -26,7 +26,9 @@ use File::Basename qw(dirname); use File::Spec::Functions qw(rel2abs); our $output = "output.tex"; -our $pcp = "../dist/build/pandoc-citeproc-preamble/pandoc-citeproc-preamble"; +our $pcp = $ENV{AUTOPKGTEST_TMP} + ? "/usr/bin/pandoc-citeproc-preamble" + : "../dist/build/pandoc-citeproc-preamble/pandoc-citeproc-preamble"; chdir(dirname(rel2abs(__FILE__))); die "need to build before testing\n" unless -e $pcp; |