]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - tools/testing/selftests/mqueue/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / tools / testing / selftests / mqueue / Makefile
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
5
6 include ../lib.mk
7
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
12
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