X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2FMakefile.am;h=7be533317b5568c043a9a880f0df0a8b271b337c;hb=8a36ff81a49e70d53e56942ea7d5db4f49b185f0;hp=d9690a6dcd063469c63de013e8df8f3a513ddf64;hpb=5810472cfda38ae6108e577d163d63158b960519;p=lttng-ust.git diff --git a/tests/Makefile.am b/tests/Makefile.am index d9690a6d..7be53331 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,11 +1,29 @@ -SUBDIRS = . hello fork ust-basic-tracing -#SUBDIRS = . hello2 basic basic_long simple_include snprintf test-nevents test-libustinstr-malloc dlopen same_line_marker trace_event register_test tracepoint libustctl_function_tests exit-fast +# SPDX-License-Identifier: LGPL-2.1-only -dist_noinst_SCRIPTS = test_loop runtests trace_matches +SUBDIRS = utils unit compile benchmark -noinst_LIBRARIES = libtap.a +LOG_DRIVER_FLAGS = --merge --comments +LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \ + UST_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \ + UST_TESTS_BUILDDIR='$(abs_top_builddir)/tests' \ + $(SHELL) $(srcdir)/utils/tap-driver.sh -libtap_a_SOURCES = \ - tap.c \ - tap.h +TESTS = \ + unit/libringbuffer/test_shm \ + unit/gcc-weak-hidden/test_gcc_weak_hidden \ + unit/libmsgpack/test_msgpack \ + unit/pthread_name/test_pthread_name \ + unit/snprintf/test_snprintf \ + unit/ust-elf/test_ust_elf +EXTRA_DIST = README + +check-loop: + while [ 0 ]; do \ + $(MAKE) $(AM_MAKEFLAGS) check; \ + if [ "$$?" != "0" ]; then \ + break; \ + fi \ + done + +.PHONY: check-loop