]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - tools/testing/selftests/mqueue/Makefile
Merge remote-tracking branches 'regmap/topic/rbtree' and 'regmap/topic/update-offload...
[karo-tx-linux.git] / tools / testing / selftests / mqueue / Makefile
1 CFLAGS += -O2
2 LDLIBS = -lrt -lpthread -lpopt
3 TEST_PROGS := mq_open_tests mq_perf_tests
4
5 all: $(TEST_PROGS)
6
7 include ../lib.mk
8
9 override define RUN_TESTS
10         @./mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]"
11         @./mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]"
12 endef
13
14 override define EMIT_TESTS
15         echo "./mq_open_tests /test1 || echo \"selftests: mq_open_tests [FAIL]\""
16         echo "./mq_perf_tests || echo \"selftests: mq_perf_tests [FAIL]\""
17 endef
18
19 clean:
20         rm -f mq_open_tests mq_perf_tests