Commit | Line | Data |
---|---|---|
cc19ada7 | 1 | CFLAGS += -O2 |
b11054b9 BJZ |
2 | LDLIBS = -lrt -lpthread -lpopt |
3 | TEST_PROGS := mq_open_tests mq_perf_tests | |
6886f41d | 4 | |
b11054b9 | 5 | all: $(TEST_PROGS) |
50069a58 | 6 | |
5e29a910 ME |
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 | |
50069a58 | 13 | |
32dcfba6 ME |
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 | ||
50069a58 | 19 | clean: |
7820b071 | 20 | rm -f mq_open_tests mq_perf_tests |