]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
cc19ada7 | 2 | CFLAGS += -O2 |
b11054b9 | 3 | LDLIBS = -lrt -lpthread -lpopt |
88baa78d | 4 | TEST_GEN_PROGS := mq_open_tests mq_perf_tests |
50069a58 | 5 | |
5e29a910 ME |
6 | include ../lib.mk |
7 | ||
8 | override define RUN_TESTS | |
ea344f6a SK |
9 | @$(OUTPUT)/mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]" |
10 | @$(OUTPUT)/mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]" | |
5e29a910 | 11 | endef |
50069a58 | 12 | |
32dcfba6 ME |
13 | override define EMIT_TESTS |
14 | echo "./mq_open_tests /test1 || echo \"selftests: mq_open_tests [FAIL]\"" | |
15 | echo "./mq_perf_tests || echo \"selftests: mq_perf_tests [FAIL]\"" | |
16 | endef | |
17 |