summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2016-01-23 15:17:49 -0800
committerRuss Allbery <eagle@eyrie.org>2016-01-23 15:21:55 -0800
commitf532471b897dfb426890cd96b77f0f44e36c061d (patch)
tree4334d349cbd303baf6e8946215b0b7bc91d07e10 /tests
parent4abe4ae9b4149a5eb8a30a6e7b1070ff97d69021 (diff)
Clean up generation of Perl scripts
Use @PERL@ as the substitution variable instead of WALLET_PERL_PATH to match normal Automake conventions. Write the scripts into the build path, not the source path, to work properly with out-of-tree builds. Clean up the distribution rules. Use separate Makefile rules for each script so that make has proper dependencies. Also fix the Perl paths in (some of) the test scripts, although there are others for which this still isn't going to work.
Diffstat (limited to 'tests')
-rw-r--r--tests/client/full-t.in3
-rw-r--r--tests/client/prompt-t.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/client/full-t.in b/tests/client/full-t.in
index 4861723..80bb20f 100644
--- a/tests/client/full-t.in
+++ b/tests/client/full-t.in
@@ -1,4 +1,5 @@
-#!/usr/bin/perl
+#!@PERL@
+# -*- perl -*-
#
# End-to-end tests for the wallet client.
#
diff --git a/tests/client/prompt-t.in b/tests/client/prompt-t.in
index 686cc88..d3a1eac 100644
--- a/tests/client/prompt-t.in
+++ b/tests/client/prompt-t.in
@@ -1,4 +1,5 @@
-#!/usr/bin/perl
+#!@PERL@
+# -*- perl -*-
#
# Password prompting tests for the wallet client.
#