mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-01-11 08:25:47 +00:00
build: fix several issues with building tests
- MAINTAINERCLEANFILES should not rely on conditionals
that could or could not clean files.
- EXTRA_DIST should not rely on conditonals that could
or could not add files to the final tarball.
sources should always ship.
- CLEANFILES should not rely on conditionals as
./configure can be done in between builds leaving
stray files around.
- (cosmetic) move distclean-local: target with clean-local.
- drop old ipc_sock.test, start.test and resources.test
shell files.
- fix make distcheck -j:
- stop shipping or not shipping libstat_wrapper.so.
libtool will only generate the .so when installing
a shared library (--enable-install-tests).
- make libstat_wrapper a module in a similar fashion
of _failure_injection.
- build ipc_sock.test in a similar fashion as ipc.test
and link as module _libstat_wrapper.la.
this solves multiple issues of having the binary
in the final test builddir, no need to detect if
libstat_wrapper.so is installed or not and workaround
libtool different linking methods for inst vs noinst
libraries.
- fix ipc.test linking with GLIB that should not be
dependent on HAVE_FAILURE_INJECTION.
Run tests in parallel with dependancies
Make sure the two IPC tests use different socket names
Shortedn some names so they fit with the new ipc-names
remove ipc-test-name-sock
Fix resources.test now that ipc_sock is being run properly
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
|
||
|---|---|---|
| .. | ||
| _failure_injection.c | ||
| _failure_injection.h | ||
| _libstat_wrapper.c | ||
| _syslog_override.c | ||
| _syslog_override.h | ||
| .gitignore | ||
| bench-log.c | ||
| blackbox-segfault.sh | ||
| bmc.c | ||
| bmcpt.c | ||
| bms.c | ||
| check_array.c | ||
| check_common.h | ||
| check_ipc.c | ||
| check_list.c | ||
| check_log.c | ||
| check_loop.c | ||
| check_map.c | ||
| check_rb.c | ||
| check_tlist.c | ||
| check_util.c | ||
| crash_test_dummy.c | ||
| file_change_bytes.c | ||
| format_compare_speed.c | ||
| loop.c | ||
| make-log-test.sh | ||
| Makefile.am | ||
| print_ver.c | ||
| rbreader.c | ||
| rbwriter.c | ||
| resources.test | ||
| run-coverity | ||
| sock_ipc_wrapper.test | ||
| start.test | ||
| test.conf.in | ||