Linux Audio

Check our new training course

Loading...
v3.15
 
 1# Makefile for user memory selftests
 2
 3# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
 4all:
 5
 6run_tests: all
 7	@if /sbin/modprobe test_user_copy ; then \
 8		rmmod test_user_copy; \
 9		echo "user_copy: ok"; \
10	else \
11		echo "user_copy: [FAIL]"; \
12		exit 1; \
13	fi
v5.4
1# SPDX-License-Identifier: GPL-2.0-only
2# Makefile for user memory selftests
3
4# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
5all:
6
7TEST_PROGS := test_user_copy.sh
8
9include ../lib.mk