summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-22 13:45:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-22 18:22:22 +0100
commit36b92e809f378e18af980ffa5b29361bd28098cb (patch)
treef5522791e7d66ada6d091f5f1ba1a37467e82127 /tests/Makefile.am
parent009a35e878c66e38d3f4b980f6cdb995d2662533 (diff)
igt: Import basic amdgpu tests from libdrm
Simple copy and replace of the CUnit tests inside libdrm to form a basis for further prime integration testing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8930c245..bd290bec 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,9 @@
include Makefile.sources
+if HAVE_LIBDRM_AMDGPU
+ TESTS_progs_M += $(AMDGPU_TESTS_M)
+endif
+
if HAVE_LIBDRM_NOUVEAU
TESTS_progs_M += $(NOUVEAU_TESTS_M)
endif
@@ -121,5 +125,8 @@ vc4_wait_seqno_LDADD = $(LDADD) $(DRM_VC4_LIBS)
chamelium_CFLAGS = $(AM_CFLAGS) $(XMLRPC_CFLAGS) $(LIBUDEV_CFLAGS)
chamelium_LDADD = $(LDADD) $(XMLRPC_LIBS) $(LIBUDEV_LIBS)
-endif
+amdgpu_amd_basic_CFLAGS = $(AM_CFLAGS) $(DRM_AMDGPU_CFLAGS)
+amdgpu_amd_basic_LDADD = $(LDADD) $(DRM_AMDGPU_LIBS)
+
+endif