Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / tools / testing / selftests / mqueue / Makefile
blob743d3f9e59181c5f39346727d2a2286c5eabf511
1 # SPDX-License-Identifier: GPL-2.0
2 CFLAGS += -O2
3 LDLIBS = -lrt -lpthread -lpopt
4 TEST_GEN_PROGS := mq_open_tests mq_perf_tests
6 include ../lib.mk
8 override 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]"
11 endef
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