X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2FMakefile.am;h=b1042dbef1e64c7b0307a2b528a751792e962c9c;hb=e6e508c974088acd37ab97753632745f30eabe3e;hp=a9ba3262b092cf8c6b5ae3c6e46f3419edfca552;hpb=e822f505be95ac8c30c7b535a7b48c05ed0c1293;p=lttng-ust.git diff --git a/tests/Makefile.am b/tests/Makefile.am index a9ba3262..b1042dbe 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,11 +1,26 @@ -SUBDIRS = . hello fork -#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 +SUBDIRS = utils hello same_line_tracepoint snprintf benchmark ust-elf \ + ctf-types test-app-ctx gcc-weak-hidden hello-many -dist_noinst_SCRIPTS = test_loop runtests trace_matches +if CXX_WORKS +SUBDIRS += hello.cxx +endif -noinst_LIBRARIES = libtap.a +LOG_DRIVER_FLAGS='--merge' +LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ + $(top_srcdir)/config/tap-driver.sh -libtap_a_SOURCES = \ - tap.c \ - tap.h +TESTS = snprintf/test_snprintf \ + ust-elf/test_ust_elf \ + gcc-weak-hidden/test_gcc_weak_hidden +EXTRA_DIST = README + +check-loop: + while [ 0 ]; do \ + $(MAKE) $(AM_MAKEFLAGS) check; \ + if [ "$$?" != "0" ]; then \ + break; \ + fi \ + done + +.PHONY: check-loop