lib/tests: use the "check_" prefix for tests

The "check_" prefix ensures the test programs are not installed and are
only built when "make check" is run.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood 2014-10-29 17:20:52 +00:00
parent b78d142a15
commit 5a61421a02
2 changed files with 5 additions and 12 deletions

View File

@ -1,9 +1,6 @@
include Makefile.sources include Makefile.sources
EXTRA_PROGRAMS = $(TESTS_testsuite) EXTRA_DIST = $(check_SCRIPTS)
EXTRA_DIST = $(TESTS_testsuite_scripts)
CLEANFILES = $(EXTRA_PROGRAMS)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \ AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
-I$(srcdir)/../.. \ -I$(srcdir)/../.. \

View File

@ -1,8 +1,4 @@
noinst_PROGRAMS = \ check_PROGRAMS = \
$(TESTS_testsuite) \
$(NULL)
TESTS_testsuite = \
igt_no_exit \ igt_no_exit \
igt_no_exit_list_only \ igt_no_exit_list_only \
igt_fork_helper \ igt_fork_helper \
@ -11,13 +7,13 @@ TESTS_testsuite = \
igt_simulation \ igt_simulation \
$(NULL) $(NULL)
TESTS_testsuite_scripts = \ check_SCRIPTS = \
igt_command_line.sh \ igt_command_line.sh \
$(NULL) $(NULL)
TESTS = \ TESTS = \
$(TESTS_testsuite) \ $(check_PROGRAMS) \
$(TESTS_testsuite_scripts) \ $(check_SCRIPTS) \
$(NULL) $(NULL)
# Test that exercise specific asserts in the test framework library and are # Test that exercise specific asserts in the test framework library and are