| 1 | # SPDX-License-Identifier: LGPL-2.1-only |
| 2 | |
| 3 | SUBDIRS = utils unit compile benchmark |
| 4 | |
| 5 | LOG_DRIVER_FLAGS = --merge --comments |
| 6 | LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \ |
| 7 | UST_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \ |
| 8 | UST_TESTS_BUILDDIR='$(abs_top_builddir)/tests' \ |
| 9 | $(SHELL) $(srcdir)/utils/tap-driver.sh |
| 10 | |
| 11 | TESTS = \ |
| 12 | unit/libringbuffer/test_shm \ |
| 13 | unit/gcc-weak-hidden/test_gcc_weak_hidden \ |
| 14 | unit/libmsgpack/test_msgpack \ |
| 15 | unit/pthread_name/test_pthread_name \ |
| 16 | unit/snprintf/test_snprintf \ |
| 17 | unit/ust-elf/test_ust_elf |
| 18 | |
| 19 | EXTRA_DIST = README |
| 20 | |
| 21 | check-loop: |
| 22 | while [ 0 ]; do \ |
| 23 | $(MAKE) $(AM_MAKEFLAGS) check; \ |
| 24 | if [ "$$?" != "0" ]; then \ |
| 25 | break; \ |
| 26 | fi \ |
| 27 | done |
| 28 | |
| 29 | .PHONY: check-loop |