From: Michael Tremer Date: Tue, 2 Aug 2022 10:29:49 +0000 (+0000) Subject: Makefile: Define TEST_STUB_ROOT in testsuite X-Git-Tag: 0.9.28~640 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a896565d2de62735134770945f644166285c46;p=pakfire.git Makefile: Define TEST_STUB_ROOT in testsuite Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index b76567f56..894794249 100644 --- a/Makefile.am +++ b/Makefile.am @@ -635,6 +635,8 @@ tests_stub_root_command_LDFLAGS = \ CLEANFILES += \ tests/stub/root/command +TEST_STUB_ROOT = $(abs_top_builddir)/tests/stub/root + # ------------------------------------------------------------------------------ dist_scripts_SCRIPTS = \ @@ -804,6 +806,7 @@ TESTSUITE_CPPFLAGS = \ $(PAKFIRE_CPPFLAGS) \ -DABS_TOP_SRCDIR=\"$(abs_top_srcdir)\" \ -DTEST_ROOTFS=\"$(TEST_ROOTFS)\" \ + -DTEST_STUB_ROOT=\"$(TEST_STUB_ROOT)\" \ -DPAKFIRE_PRIVATE TESTSUITE_CFLAGS = \ @@ -816,7 +819,7 @@ TESTSUITE_LDADD = \ TESTS_ENVIRONMENT = \ TEST_DATA_DIR="$(abs_top_srcdir)/tests/data" \ - TEST_STUB_ROOT="$(abs_top_builddir)/tests/stub/root" \ + TEST_STUB_ROOT="$(TEST_STUB_ROOT)" \ PAKFIRE_LOG=debug \ #PYTHONPATH="$(top_srcdir)/.libs:$(top_srcdir)/src" \ topdir="$(shell pwd)"