Makefile 282 B

1234567891011121314
  1. # Makefile for user memory selftests
  2. # No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
  3. all:
  4. run_tests: all
  5. @if /sbin/modprobe test_user_copy ; then \
  6. rmmod test_user_copy; \
  7. echo "user_copy: ok"; \
  8. else \
  9. echo "user_copy: [FAIL]"; \
  10. exit 1; \
  11. fi