mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Switch to the preferred parallel automake test harness
Automake "strongly discourages" use of the serial driver, and switching to the preferred parallel driver allows make -j4 check to run in about half the time on a four core (not thread) host. * Makefile.am (TESTS, TESTS_ENVIRONMENT): run ./check-guile from test-suite/, not here. * check-guile.in: let test harness handle progress output. * configure.ac (AM_INIT_AUTOMAKE): allow parallel testing. * test-suite/Makefile.am (SCM_TESTS): remove non-tests. (EXTRA_DIST): move non-tests here. (TESTS): include SCM_TESTS (now driven from here). (TEST_EXTENSIONS): allow customization for .scm and .test. (TESTS_ENVIRONMENT): stop defining (user only). (AM_TESTS_ENVIRONMENT): replaces TESTS_ENVIRONMENT; drop guile. (SCM_LOG_COMPILER): run .scm tests via meta/guile. (AM_SCM_LOG_FLAGS): keep --no-auto-compile for .scm tests. (TEST_LOG_DRIVER): run .test tests via custom automake ./driver. * test-suite/driver: add automake test driver.
This commit is contained in:
parent
590eb72c69
commit
df04f5357a
5 changed files with 74 additions and 18 deletions
|
@ -26,10 +26,7 @@ fi
|
|||
|
||||
export GUILE_LOAD_PATH="$TEST_SUITE_DIR"
|
||||
|
||||
if [ -f "$guile" -a -x "$guile" ] ; then
|
||||
echo "Testing $guile ..." "$@"
|
||||
echo "with GUILE_LOAD_PATH=$GUILE_LOAD_PATH"
|
||||
else
|
||||
if ! [ -f "$guile" -a -x "$guile" ] ; then
|
||||
echo "ERROR: Cannot execute $guile" 1>&2
|
||||
exit 2
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue