aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-10-18 18:05:45 +0100
committerEric Engestrom <eric.engestrom@intel.com>2019-10-18 18:05:45 +0100
commitfc933651b13e2f0d9d4e2083206c3faadc11c50a (patch)
tree271758241abf5bb1a662fe11c7677899c1efac30 /tests
parent0190f49a139e7069d7cad6a6890832831da1aa8b (diff)
downloadexternal_libdrm-fc933651b13e2f0d9d4e2083206c3faadc11c50a.tar.gz
external_libdrm-fc933651b13e2f0d9d4e2083206c3faadc11c50a.tar.bz2
external_libdrm-fc933651b13e2f0d9d4e2083206c3faadc11c50a.zip
Revert "Revert "libdrm: remove autotools support""
The external tooling issue has been fixed, so we can delete autotools again :)
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am53
-rw-r--r--tests/amdgpu/Makefile.am38
-rw-r--r--tests/etnaviv/Makefile.am43
-rw-r--r--tests/exynos/Makefile.am48
-rw-r--r--tests/kms/Makefile.am37
-rw-r--r--tests/kmstest/Makefile.am26
-rw-r--r--tests/modeprint/Makefile.am20
-rw-r--r--tests/modetest/Makefile.am25
-rw-r--r--tests/nouveau/Makefile.am17
-rw-r--r--tests/proptest/Makefile.am22
-rw-r--r--tests/radeon/Makefile.am15
-rw-r--r--tests/tegra/Makefile.am15
-rw-r--r--tests/util/Makefile.am13
-rw-r--r--tests/vbltest/Makefile.am20
14 files changed, 0 insertions, 392 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index d274a3e9..00000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,53 +0,0 @@
-SUBDIRS = util kms modeprint proptest modetest vbltest
-
-if HAVE_LIBKMS
-SUBDIRS += kmstest
-endif
-
-if HAVE_RADEON
-SUBDIRS += radeon
-endif
-
-if HAVE_AMDGPU
-if HAVE_CUNIT
-SUBDIRS += amdgpu
-endif
-endif
-
-if HAVE_EXYNOS
-SUBDIRS += exynos
-endif
-
-if HAVE_TEGRA
-SUBDIRS += tegra
-endif
-
-if HAVE_ETNAVIV
-SUBDIRS += etnaviv
-endif
-
-if HAVE_NOUVEAU
-SUBDIRS += nouveau
-endif
-
-AM_CFLAGS = \
- $(WARN_CFLAGS)\
- -fvisibility=hidden \
- -I $(top_srcdir)/include/drm \
- -I $(top_srcdir)
-
-LDADD = $(top_builddir)/libdrm.la
-
-TESTS = \
- drmsl \
- hash \
- random
-
-check_PROGRAMS = \
- $(TESTS)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = drmdevice
-else
-check_PROGRAMS += drmdevice
-endif
diff --git a/tests/amdgpu/Makefile.am b/tests/amdgpu/Makefile.am
deleted file mode 100644
index 920882d0..00000000
--- a/tests/amdgpu/Makefile.am
+++ /dev/null
@@ -1,38 +0,0 @@
-AM_CFLAGS = \
- -fvisibility=hidden \
- -I $(top_srcdir)/include/drm \
- -I $(top_srcdir)/amdgpu \
- -I $(top_srcdir) \
- -pthread
-
-LDADD = $(top_builddir)/libdrm.la \
- $(top_builddir)/amdgpu/libdrm_amdgpu.la \
- $(CUNIT_LIBS)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- amdgpu_test
-else
-noinst_PROGRAMS = \
- amdgpu_test
-endif
-
-amdgpu_test_CPPFLAGS = $(CUNIT_CFLAGS)
-
-amdgpu_test_SOURCES = \
- amdgpu_test.c \
- amdgpu_test.h \
- basic_tests.c \
- bo_tests.c \
- cs_tests.c \
- decode_messages.h \
- vce_tests.c \
- vce_ib.h \
- frame.h \
- uvd_enc_tests.c \
- vcn_tests.c \
- uve_ib.h \
- deadlock_tests.c \
- vm_tests.c \
- ras_tests.c \
- syncobj_tests.c
diff --git a/tests/etnaviv/Makefile.am b/tests/etnaviv/Makefile.am
deleted file mode 100644
index 3e0c6120..00000000
--- a/tests/etnaviv/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-AM_CFLAGS = \
- -fvisibility=hidden \
- -I $(top_srcdir)/include/drm \
- -I $(top_srcdir)/etnaviv \
- -I $(top_srcdir)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- etnaviv_2d_test \
- etnaviv_cmd_stream_test \
- etnaviv_bo_cache_test
-else
-noinst_PROGRAMS = \
- etnaviv_2d_test \
- etnaviv_cmd_stream_test \
- etnaviv_bo_cache_test
-endif
-
-etnaviv_2d_test_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/etnaviv/libdrm_etnaviv.la
-
-etnaviv_2d_test_SOURCES = \
- cmdstream.xml.h \
- etnaviv_2d_test.c \
- state.xml.h \
- state_2d.xml.h \
- write_bmp.c \
- write_bmp.h
-
-etnaviv_cmd_stream_test_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/etnaviv/libdrm_etnaviv.la
-
-etnaviv_cmd_stream_test_SOURCES = \
- etnaviv_cmd_stream_test.c
-
-etnaviv_bo_cache_test_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/etnaviv/libdrm_etnaviv.la
-
-etnaviv_bo_cache_test_SOURCES = \
- etnaviv_bo_cache_test.c
diff --git a/tests/exynos/Makefile.am b/tests/exynos/Makefile.am
deleted file mode 100644
index 9658fb42..00000000
--- a/tests/exynos/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-AM_CFLAGS = \
- -pthread \
- $(WARN_CFLAGS)\
- -fvisibility=hidden \
- -I $(top_srcdir)/include/drm \
- -I $(top_srcdir)/libkms/ \
- -I $(top_srcdir)/exynos \
- -I $(top_srcdir)
-
-bin_PROGRAMS =
-noinst_PROGRAMS =
-
-if HAVE_LIBKMS
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS += \
- exynos_fimg2d_test
-else
-noinst_PROGRAMS += \
- exynos_fimg2d_test
-endif
-endif
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS += \
- exynos_fimg2d_perf \
- exynos_fimg2d_event
-else
-noinst_PROGRAMS += \
- exynos_fimg2d_perf \
- exynos_fimg2d_event
-endif
-
-exynos_fimg2d_perf_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/exynos/libdrm_exynos.la
-
-exynos_fimg2d_event_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/exynos/libdrm_exynos.la
-
-exynos_fimg2d_test_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/libkms/libkms.la \
- $(top_builddir)/exynos/libdrm_exynos.la
-
-exynos_fimg2d_test_SOURCES = \
- exynos_fimg2d_test.c
-
diff --git a/tests/kms/Makefile.am b/tests/kms/Makefile.am
deleted file mode 100644
index 42242006..00000000
--- a/tests/kms/Makefile.am
+++ /dev/null
@@ -1,37 +0,0 @@
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/tests \
- -I$(top_srcdir)
-
-AM_CFLAGS = \
- $(WARN_CFLAGS) \
- -fvisibility=hidden
-
-noinst_LTLIBRARIES = libkms-test.la
-
-libkms_test_la_SOURCES = \
- libkms-test.h \
- libkms-test-crtc.c \
- libkms-test-device.c \
- libkms-test-framebuffer.c \
- libkms-test-plane.c \
- libkms-test-screen.c
-
-libkms_test_la_LIBADD = \
- $(top_builddir)/libdrm.la
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- kms-steal-crtc \
- kms-universal-planes
-else
-noinst_PROGRAMS = \
- kms-steal-crtc \
- kms-universal-planes
-endif
-
-kms_steal_crtc_SOURCES = kms-steal-crtc.c
-kms_steal_crtc_LDADD = libkms-test.la ../util/libutil.la $(CAIRO_LIBS)
-
-kms_universal_planes_SOURCES = kms-universal-planes.c
-kms_universal_planes_LDADD = libkms-test.la $(CAIRO_LIBS)
diff --git a/tests/kmstest/Makefile.am b/tests/kmstest/Makefile.am
deleted file mode 100644
index 4c993b04..00000000
--- a/tests/kmstest/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-AM_CFLAGS = \
- $(WARN_CFLAGS)\
- -fvisibility=hidden \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/libkms/ \
- -I$(top_srcdir)/tests/ \
- -I$(top_srcdir)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- kmstest
-else
-noinst_PROGRAMS = \
- kmstest
-endif
-
-kmstest_SOURCES = \
- main.c
-
-kmstest_LDADD = \
- $(top_builddir)/tests/util/libutil.la \
- $(top_builddir)/libkms/libkms.la \
- $(top_builddir)/libdrm.la
-
-run: kmstest
- ./kmstest
diff --git a/tests/modeprint/Makefile.am b/tests/modeprint/Makefile.am
deleted file mode 100644
index 568185f0..00000000
--- a/tests/modeprint/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-AM_CFLAGS = \
- $(WARN_CFLAGS)\
- -fvisibility=hidden \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/tests \
- -I$(top_srcdir)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- modeprint
-else
-noinst_PROGRAMS = \
- modeprint
-endif
-
-modeprint_SOURCES = \
- modeprint.c
-modeprint_LDADD = \
- $(top_builddir)/tests/util/libutil.la \
- $(top_builddir)/libdrm.la
diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
deleted file mode 100644
index 5eebd960..00000000
--- a/tests/modetest/Makefile.am
+++ /dev/null
@@ -1,25 +0,0 @@
-include Makefile.sources
-
-AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
-
-AM_CFLAGS += \
- -fvisibility=hidden \
- -pthread \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/tests \
- -I$(top_srcdir)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- modetest
-else
-noinst_PROGRAMS = \
- modetest
-endif
-
-modetest_SOURCES = $(MODETEST_FILES)
-
-modetest_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/tests/util/libutil.la \
- $(CAIRO_LIBS)
diff --git a/tests/nouveau/Makefile.am b/tests/nouveau/Makefile.am
deleted file mode 100644
index 554f43ec..00000000
--- a/tests/nouveau/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-AM_CFLAGS = \
- -pthread \
- $(WARN_CFLAGS) \
- -fvisibility=hidden \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/nouveau \
- -I$(top_srcdir)
-
-LDADD = \
- ../../nouveau/libdrm_nouveau.la \
- ../../libdrm.la \
- -ldl
-
-TESTS = threaded
-
-check_PROGRAMS = $(TESTS)
-
diff --git a/tests/proptest/Makefile.am b/tests/proptest/Makefile.am
deleted file mode 100644
index 33b8705b..00000000
--- a/tests/proptest/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-include Makefile.sources
-
-AM_CFLAGS = \
- $(WARN_CFLAGS)\
- -fvisibility=hidden \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/tests \
- -I$(top_srcdir)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- proptest
-else
-noinst_PROGRAMS = \
- proptest
-endif
-
-proptest_SOURCES = $(PROPTEST_FILES)
-
-proptest_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/tests/util/libutil.la
diff --git a/tests/radeon/Makefile.am b/tests/radeon/Makefile.am
deleted file mode 100644
index 3d173e31..00000000
--- a/tests/radeon/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-AM_CFLAGS = \
- $(WARN_CFLAGS)\
- -fvisibility=hidden \
- -I $(top_srcdir)/include/drm \
- -I $(top_srcdir)
-
-LDADD = $(top_builddir)/libdrm.la
-
-noinst_PROGRAMS = \
- radeon_ttm
-
-radeon_ttm_SOURCES = \
- rbo.c \
- rbo.h \
- radeon_ttm.c
diff --git a/tests/tegra/Makefile.am b/tests/tegra/Makefile.am
deleted file mode 100644
index b462a30c..00000000
--- a/tests/tegra/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/tegra \
- -I$(top_srcdir)
-
-AM_CFLAGS = \
- $(WARN_CFLAGS) \
- -fvisibility=hidden
-
-LDADD = \
- ../../tegra/libdrm_tegra.la \
- ../../libdrm.la
-
-noinst_PROGRAMS = \
- openclose
diff --git a/tests/util/Makefile.am b/tests/util/Makefile.am
deleted file mode 100644
index f8e0b171..00000000
--- a/tests/util/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-include Makefile.sources
-
-noinst_LTLIBRARIES = \
- libutil.la
-
-libutil_la_CPPFLAGS = \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)
-
-libutil_la_CFLAGS = \
- $(CAIRO_CFLAGS)
-
-libutil_la_SOURCES = $(UTIL_FILES)
diff --git a/tests/vbltest/Makefile.am b/tests/vbltest/Makefile.am
deleted file mode 100644
index b6cd7a4d..00000000
--- a/tests/vbltest/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-AM_CFLAGS = \
- $(WARN_CFLAGS)\
- -fvisibility=hidden \
- -I$(top_srcdir)/include/drm \
- -I$(top_srcdir)/tests \
- -I$(top_srcdir)
-
-if HAVE_INSTALL_TESTS
-bin_PROGRAMS = \
- vbltest
-else
-noinst_PROGRAMS = \
- vbltest
-endif
-
-vbltest_SOURCES = \
- vbltest.c
-vbltest_LDADD = \
- $(top_builddir)/libdrm.la \
- $(top_builddir)/tests/util/libutil.la