summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/user/Makefile
blob: 396255bd720e6069f434b13c958ff7595f35ae77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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