2015-09-09 20:06:26 +07:00
|
|
|
CFLAGS += -O2
|
2015-09-09 20:06:27 +07:00
|
|
|
LDLIBS = -lrt -lpthread -lpopt
|
2016-11-29 18:55:47 +07:00
|
|
|
TEST_GEN_PROGS := mq_open_tests mq_perf_tests
|
2012-06-01 06:26:34 +07:00
|
|
|
|
2015-03-11 11:05:59 +07:00
|
|
|
include ../lib.mk
|
|
|
|
|
|
|
|
override define RUN_TESTS
|
2017-10-03 06:02:22 +07:00
|
|
|
@$(OUTPUT)/mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]"
|
|
|
|
@$(OUTPUT)/mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]"
|
2015-03-11 11:05:59 +07:00
|
|
|
endef
|
2012-06-01 06:26:34 +07:00
|
|
|
|
2015-03-11 11:06:00 +07:00
|
|
|
override define EMIT_TESTS
|
|
|
|
echo "./mq_open_tests /test1 || echo \"selftests: mq_open_tests [FAIL]\""
|
|
|
|
echo "./mq_perf_tests || echo \"selftests: mq_perf_tests [FAIL]\""
|
|
|
|
endef
|
|
|
|
|