X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2FMakefile.am;h=7be533317b5568c043a9a880f0df0a8b271b337c;hb=a423db3fa93360a510cb2c78a39cacc1d78696e1;hp=0308483d31768ba09f7a52a8ea0be6bc41698b49;hpb=ad0038b792809ead6ac306000946b8c9e194fe26;p=lttng-ust.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 0308483d..7be53331 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1 +1,29 @@ -SUBDIRS = hello hello2 +# SPDX-License-Identifier: LGPL-2.1-only + +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