]> git.ipfire.org Git - thirdparty/mlmmj.git/commit
Fix the test suite for Out of tree builds
authorMichael Jeanson <mjeanson@debian.org>
Mon, 12 Feb 2024 23:12:55 +0000 (18:12 -0500)
committerMichael Jeanson <mjeanson@debian.org>
Wed, 14 Feb 2024 21:57:48 +0000 (16:57 -0500)
commitce58a5b993419d67bec3a54ef0291ab9bd42a5a8
tree4bef18641a5ca77e71d13b4a158ba65c756a4653
parent4bb86f7a08a568e9ee25a5a01c7cc771b20edc09
Fix the test suite for Out of tree builds

Move the test suite to the top level Makefile to allow proper
dependencies between the built files and the check target.

Add a generated 'kyua.conf' file to the build directory to pass the
top_srcdir and top_buildir variable from the build system to the test
suite.

Modify the test scripts to fetch the data files from the top_srcdir and
the generated files from the top_builddir variable.

Signed-off-by: Michael Jeanson <mjeanson@debian.org>
12 files changed:
Makefile.am
configure.ac
kyua.conf.in [new file with mode: 0644]
tests/Kyuafile [moved from tests/Kyuafile.in with 100% similarity]
tests/Makefile.am [deleted file]
tests/mlmmj-bounce.sh
tests/mlmmj-maintd.sh
tests/mlmmj-process.sh
tests/mlmmj-receive.sh
tests/mlmmj-sub.sh
tests/mlmmj.c
tests/test_env.sh.in