libqb/tests
Chrissie Caulfield a3aedbc419
tests: allow -j to work (#485)
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>
2023-05-26 20:21:43 +02:00
..
_failure_injection.c tests: start stdlib failures injection effort with unlink{,at} + test 2016-11-04 19:06:08 +01:00
_failure_injection.h tests: start stdlib failures injection effort with unlink{,at} + test 2016-11-04 19:06:08 +01:00
_libstat_wrapper.c tests: allow -j to work (#485) 2023-05-26 20:21:43 +02:00
_syslog_override.c lib: Fix some minor warnings from newer compilers 2019-12-11 11:14:47 +00:00
_syslog_override.h Feature: allow changing the identifier for syslog (+tests) 2016-02-18 11:30:14 +01:00
.gitignore API: introduce alternative, header-based versioning 2016-04-01 23:19:40 +02:00
bench-log.c By default don't build in the slow benchlog 2011-11-25 11:12:27 +11:00
blackbox-segfault.sh tests: allow blackbox-segfault.sh to run out-of-tree 2019-03-26 11:31:05 +00:00
bmc.c Deprecate qb_util_set_log_function() 2012-01-24 16:00:05 +11:00
bmcpt.c Low: sanitize import of <qb/qbarray.h> symbols 2016-10-17 17:25:50 +02:00
bms.c Low: sanitize import of <qb/qbarray.h> symbols 2016-10-17 17:25:50 +02:00
check_array.c tests: Remove deprecated check macros (#412) 2020-07-29 14:06:22 +01:00
check_common.h tests: refactor test case defs using versatile add_tcase macro 2016-03-01 15:11:38 +01:00
check_ipc.c tests: allow -j to work (#485) 2023-05-26 20:21:43 +02:00
check_list.c UPDATED: doc (ABI comparison) and various other fixes (#324) 2018-09-25 08:38:37 +01:00
check_log.c syslog: Add a message-id parameter for messages (#433) 2021-03-01 15:58:50 +00:00
check_loop.c tests: Close race condition in check_loop (#480) 2023-01-06 13:30:51 +00:00
check_map.c trie: Don't assume that chars are unsigned < 126 (#386) 2020-03-09 08:14:39 +00:00
check_rb.c tests: Remove deprecated check macros (#412) 2020-07-29 14:06:22 +01:00
check_tlist.c Implement heap based timer list (#439) 2021-03-18 07:27:25 +00:00
check_util.c tests: make qb logging under check always dispose the memory 2017-09-18 10:30:40 +01:00
crash_test_dummy.c Deal better with corrupt blackbox files. 2013-04-02 13:52:57 +11:00
file_change_bytes.c Low: tests: Fixes compile time issue with make check 2014-01-20 16:59:52 -06:00
format_compare_speed.c warnings cleanup: Wformat: sign-correct PRIu32 specifiers as appropriate 2017-12-21 01:50:15 +01:00
loop.c Deprecate qb_util_set_log_function() 2012-01-24 16:00:05 +11:00
make-log-test.sh TEST: change the script to .sh and generated c file to auto_ 2012-01-16 22:18:39 +11:00
Makefile.am tests: allow -j to work (#485) 2023-05-26 20:21:43 +02:00
print_ver.c UPDATED: doc (ABI comparison) and various other fixes (#324) 2018-09-25 08:38:37 +01:00
rbreader.c tests: make qb logging under check always dispose the memory 2017-09-18 10:30:40 +01:00
rbwriter.c tests: make qb logging under check always dispose the memory 2017-09-18 10:30:40 +01:00
resources.test tests: allow -j to work (#485) 2023-05-26 20:21:43 +02:00
run-coverity test: add helper script for running coverity 2015-09-09 15:54:26 -05:00
sock_ipc_wrapper.test tests: allow -j to work (#485) 2023-05-26 20:21:43 +02:00
start.test tests: allow -j to work (#485) 2023-05-26 20:21:43 +02:00
test.conf.in Deal better with corrupt blackbox files. 2013-04-02 13:52:57 +11:00