summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2016-07-27 13:17:46 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-08-04 13:13:05 +0200
commite2e57eeda187f211ddad07e45e0fca6404edc5dd (patch)
tree21b7753a9e2ba90fe46a29e3484c68f20f2fe83a /lib/tests
parent21d0193dc6d68ea003ffcd1a81c0080a032fa84c (diff)
lib/tests/Makefile: Replace automake specific names of listings in Makefile.sources
Replace the automake specific names of listings with something that isn't automake specific. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/Android.mk2
-rw-r--r--lib/tests/Makefile.am3
-rw-r--r--lib/tests/Makefile.sources8
3 files changed, 8 insertions, 5 deletions
diff --git a/lib/tests/Android.mk b/lib/tests/Android.mk
index df8e1590..026f17f8 100644
--- a/lib/tests/Android.mk
+++ b/lib/tests/Android.mk
@@ -37,5 +37,5 @@ IGT_LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm
IGT_LOCAL_STATIC_LIBRARIES := libintel_gpu_tools
IGT_LOCAL_SHARED_LIBRARIES := libpciaccess libdrm libdrm_intel
-$(foreach item,$(check_PROGRAMS),$(eval $(call add_test,$(item))))
+$(foreach item,$($(check_prog_list)),$(eval $(call add_test,$(item))))
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
index 582cc3e9..c2fa2ebd 100644
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
@@ -1,5 +1,8 @@
include Makefile.sources
+check_PROGRAMS = $(check_prog_list)
+check_SCRIPTS = $(check_script_list)
+
AM_TESTS_ENVIRONMENT = \
top_builddir=$(top_builddir) \
top_srcdir=$(top_srcdir)
diff --git a/lib/tests/Makefile.sources b/lib/tests/Makefile.sources
index 707c445a..5d8c7851 100644
--- a/lib/tests/Makefile.sources
+++ b/lib/tests/Makefile.sources
@@ -1,4 +1,4 @@
-check_PROGRAMS = \
+check_prog_list = \
igt_no_exit \
igt_no_exit_list_only \
igt_fork_helper \
@@ -15,13 +15,13 @@ check_PROGRAMS = \
igt_exit_handler \
$(NULL)
-check_SCRIPTS = \
+check_script_list = \
igt_command_line.sh \
$(NULL)
TESTS = \
- $(check_PROGRAMS) \
- $(check_SCRIPTS) \
+ $(check_prog_list) \
+ $(check_script_list) \
$(NULL)
# Test that exercise specific asserts in the test framework library and are