tests: allow to run Perl tests more cleanly
authorJim Meyering <meyering@redhat.com>
Mon, 12 May 2008 12:39:55 +0000 (14:39 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 16 May 2008 08:10:34 +0000 (10:10 +0200)
commitea54b6f47c92525267861e15314c61db83a86352
tree71339a1ffa397b0be5301ee78bdd6529857933be
parent4a4fe636dcef1c71c6aef423be0c6788f9d46c40
tests: allow to run Perl tests more cleanly

Before this change, perl tests were run via a #!/bin/sh script
in which perl was invoked via $(PERL) ... -- - <<\EOF.
That made some stty tests fail due to the way stdin was usurped.
* build-aux/check.mk (am__check_pre): Don't append $(SHELL) to this
nominally automake-internal variable.
* tests/check.mk (TESTS_ENVIRONMENT): Instead, define a shell function
here, and append it to the more user-visible $(TESTS_ENVIRONMENT).
build-aux/check.mk
tests/check.mk