Build system: implement REUSE with SPDX identifiers
[lttng-ust.git] / tests / Makefile.am
1 # SPDX-FileCopyrightText: 2023 EfficiOS, Inc
2 #
3 # SPDX-License-Identifier: LGPL-2.1-only
4
5 SUBDIRS = utils unit compile benchmark regression
6
7 LOG_DRIVER_FLAGS = --merge --comments
8 LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \
9 UST_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \
10 UST_TESTS_BUILDDIR='$(abs_top_builddir)/tests' \
11 $(SHELL) $(srcdir)/utils/tap-driver.sh
12
13 # Unit tests
14
15 TESTS = \
16 unit/libringbuffer/test_shm \
17 unit/gcc-weak-hidden/test_gcc_weak_hidden \
18 unit/libcommon/test_get_cpu_mask_from_sysfs \
19 unit/libcommon/test_get_max_cpuid_from_mask \
20 unit/libcommon/test_get_max_cpuid_from_sysfs \
21 unit/libcommon/test_get_possible_cpus_array_len \
22 unit/libmsgpack/test_msgpack \
23 unit/pthread_name/test_pthread_name \
24 unit/snprintf/test_snprintf \
25 unit/ust-elf/test_ust_elf \
26 unit/ust-error/test_ust_error \
27 unit/ust-utils/test_ust_utils
28
29 if HAVE_CXX
30 TESTS += \
31 unit/ust-utils/test_ust_utils_cxx
32 endif
33
34 # Regression tests
35
36 TESTS += \
37 regression/abi0-conflict/test_abi0_conflict
38
39 EXTRA_DIST = README.md
40
41 check-loop:
42 while [ 0 ]; do \
43 $(MAKE) $(AM_MAKEFLAGS) check; \
44 if [ "$$?" != "0" ]; then \
45 break; \
46 fi \
47 done
48
49 .PHONY: check-loop
This page took 0.030008 seconds and 4 git commands to generate.