Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: e5517c2a5a49ed5e99047008629f1cd60246ea0e authored by Linus Torvalds on 27 November 2016, 21:08:04 UTC
Linux 4.9-rc7
Tip revision: e5517c2
Makefile
CFLAGS += -O2
LDLIBS = -lrt -lpthread -lpopt
TEST_PROGS := mq_open_tests mq_perf_tests

all: $(TEST_PROGS)

include ../lib.mk

override define RUN_TESTS
	@./mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]"
	@./mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]"
endef

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

clean:
	rm -f mq_open_tests mq_perf_tests
back to top