M7350/kernel/tools/testing/selftests/user/Makefile

14 lines
282 B
Makefile
Raw Normal View History

2024-09-09 08:57:42 +00:00
# Makefile for user memory selftests
# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
all:
run_tests: all
@if /sbin/modprobe test_user_copy ; then \
rmmod test_user_copy; \
echo "user_copy: ok"; \
else \
echo "user_copy: [FAIL]"; \
exit 1; \
fi