summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-10-29 17:20:52 +0000
committerThomas Wood <thomas.wood@intel.com>2014-10-29 17:26:38 +0000
commit5a61421a02fe40a1dcf9f8575d5a5c136da3fdd4 (patch)
tree0e08cec3094269123c4bc76f8b4f9da58f31c27c /lib/tests
parentb78d142a1583e850713474d8053bea643247b8af (diff)
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>
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/Makefile.am5
-rw-r--r--lib/tests/Makefile.sources12
2 files changed, 5 insertions, 12 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
index 765e3e57..78279fb4 100644
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
@@ -1,9 +1,6 @@
include Makefile.sources
-EXTRA_PROGRAMS = $(TESTS_testsuite)
-EXTRA_DIST = $(TESTS_testsuite_scripts)
-
-CLEANFILES = $(EXTRA_PROGRAMS)
+EXTRA_DIST = $(check_SCRIPTS)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
-I$(srcdir)/../.. \
diff --git a/lib/tests/Makefile.sources b/lib/tests/Makefile.sources
index b13314de..d64c89cc 100644
--- a/lib/tests/Makefile.sources
+++ b/lib/tests/Makefile.sources
@@ -1,8 +1,4 @@
-noinst_PROGRAMS = \
- $(TESTS_testsuite) \
- $(NULL)
-
-TESTS_testsuite = \
+check_PROGRAMS = \
igt_no_exit \
igt_no_exit_list_only \
igt_fork_helper \
@@ -11,13 +7,13 @@ TESTS_testsuite = \
igt_simulation \
$(NULL)
-TESTS_testsuite_scripts = \
+check_SCRIPTS = \
igt_command_line.sh \
$(NULL)
TESTS = \
- $(TESTS_testsuite) \
- $(TESTS_testsuite_scripts) \
+ $(check_PROGRAMS) \
+ $(check_SCRIPTS) \
$(NULL)
# Test that exercise specific asserts in the test framework library and are