X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2FMakefile.am;h=7be533317b5568c043a9a880f0df0a8b271b337c;hb=a423db3fa93360a510cb2c78a39cacc1d78696e1;hp=7688e7ef82d257f6eb562b843f1952f01d3b6f08;hpb=761547672693a192995b72ad69b41d079636de3a;p=lttng-ust.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 7688e7ef..7be53331 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,29 @@ -SUBDIRS = hello hello2 basic basic_long fork simple_include snprintf test-nevents test-libmallocwrap +# SPDX-License-Identifier: LGPL-2.1-only -dist_noinst_SCRIPTS = test_loop runtests trace_matches +SUBDIRS = utils unit compile benchmark + +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 + +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