1# SPDX-License-Identifier: GPL-2.0
2CFLAGS += -O2
3LDLIBS = -lrt -lpthread -lpopt
4TEST_GEN_PROGS := mq_open_tests mq_perf_tests
5
6include ../lib.mk
7
8override define RUN_TESTS
9	@$(OUTPUT)/mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]"
10	@$(OUTPUT)/mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]"
11endef
12
13override 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]\""
16endef
17
18