mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Set up test environment properly
To make the G_TEST_SRCDIR and G_TEST_BUILDDIR variables reach our test binaries, we have to add it to the TESTS_ENVIRONMENT variable.
This commit is contained in:
parent
820406931b
commit
739874c5da
@ -1,5 +1,11 @@
|
|||||||
# GLIB - Library of useful C routines
|
# GLIB - Library of useful C routines
|
||||||
|
|
||||||
|
TESTS_ENVIRONMENT= \
|
||||||
|
G_TEST_SRCDIR="$(abs_srcdir)" \
|
||||||
|
G_TEST_BUILDDIR="$(abs_builddir)" \
|
||||||
|
G_DEBUG=gc-friendly \
|
||||||
|
MALLOC_CHECK_=2 \
|
||||||
|
MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256))
|
||||||
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
|
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
|
||||||
LOG_COMPILER = $(top_srcdir)/tap-test
|
LOG_COMPILER = $(top_srcdir)/tap-test
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user