tests: don't run kernel check from make check

Add a new target test for that.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2011-10-30 22:27:19 +01:00
parent 931aa17754
commit 20ff3839e4
2 changed files with 12 additions and 1 deletions

View File

@ -26,3 +26,6 @@ SHADER_DEBUGGER_SUBDIR = debugger
endif
SUBDIRS = lib man tools scripts tests benchmarks $(SHADER_DEBUGGER_SUBDIR)
test:
${MAKE} -C tests test

View File

@ -60,10 +60,18 @@ TESTS_scripts = \
debugfs_reader \
$(NULL)
TESTS = $(TESTS_progs) \
kernel_tests = \
$(TESTS_progs) \
$(TESTS_scripts) \
$(NULL)
TESTS = \
$(NULL)
test:
whoami | grep root || ( echo not running as root; exit 1 )
make TESTS="${kernel_tests}" check
HANG = \
gem_bad_batch \
gem_hang \