Makefile (e5451c8f8330e03ad3cfa16048b4daf961af434f) | Makefile (88baa78d1f318e57c7cccbfe55d485befd1ce696) |
---|---|
1CFLAGS += -O2 2LDLIBS = -lrt -lpthread -lpopt | 1CFLAGS += -O2 2LDLIBS = -lrt -lpthread -lpopt |
3TEST_PROGS := mq_open_tests mq_perf_tests | 3TEST_GEN_PROGS := mq_open_tests mq_perf_tests |
4 | 4 |
5all: $(TEST_PROGS) 6 | |
7include ../lib.mk 8 9override define RUN_TESTS 10 @./mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]" 11 @./mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]" 12endef 13 14override 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]\"" 17endef 18 | 5include ../lib.mk 6 7override define RUN_TESTS 8 @./mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]" 9 @./mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]" 10endef 11 12override define EMIT_TESTS 13 echo "./mq_open_tests /test1 || echo \"selftests: mq_open_tests [FAIL]\"" 14 echo "./mq_perf_tests || echo \"selftests: mq_perf_tests [FAIL]\"" 15endef 16 |
19clean: 20 rm -f mq_open_tests mq_perf_tests | |