Make: Use SHELL to run test scripts, since /bin/sh may suck

The test scripts need a POSIX-compliant Bourne shell.  /bin/sh isn't
on some systems, such as Solaris.  Run them with $(SHELL).

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2020-12-28 11:38:20 +01:00
parent 3f0718885a
commit 882379f883

View file

@ -100,7 +100,7 @@ endif
# Helper for running tests # Helper for running tests
# Usage: $(call run-test, SHELL-SCRIPT) # Usage: $(call run-test, SHELL-SCRIPT)
# Recursively expanded, or else parameters don't work # Recursively expanded, or else parameters don't work
run-test = $(call quiet-command, $1 $(srcdir), TEST $1) run-test = $(call quiet-command, $(SHELL) -e $1 $(srcdir), TEST $1)
# How to substitute Autoconf output variables # How to substitute Autoconf output variables
# Recursively expanded so that $@ and $< work. # Recursively expanded so that $@ and $< work.