Add a call to $TESTS_ENVIRONMENT in tests:

So that g_tester-based tests can be set up to use Guile.
This commit is contained in:
John Ralls
2013-10-27 13:42:20 -07:00
parent 6515a8e858
commit 291a3abfa3

View File

@@ -23,7 +23,7 @@ endif
# test-nonrecursive: run tests only in cwd
test-nonrecursive: ${TEST_PROGS}
if !PLATFORM_WIN32
@test -z "${TEST_PROGS}" || MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ${GTESTER} --verbose ${TEST_PROGS}
@test -z "${TEST_PROGS}" || MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ${TESTS_ENVIRONMENT} ${GTESTER} --verbose ${TEST_PROGS}
endif
# test-report: run tests in subdirs and generate report