diff options
author | Chanho Park <chanho61.park@samsung.com> | 2014-09-12 18:27:05 +0900 |
---|---|---|
committer | Joonyoung Shim <jy0922.shim@samsung.com> | 2017-02-15 13:37:33 +0900 |
commit | aed3ec5d1f01bbba616a43a3dc41db6fc1a2e4fa (patch) | |
tree | 3f1d034aa64726f62ab96ea387c74b4b1749ee9a | |
parent | c30f52434a4a9c53927707bacf7c449970454b93 (diff) | |
download | libdrm-aed3ec5d1f01bbba616a43a3dc41db6fc1a2e4fa.tar.gz libdrm-aed3ec5d1f01bbba616a43a3dc41db6fc1a2e4fa.tar.bz2 libdrm-aed3ec5d1f01bbba616a43a3dc41db6fc1a2e4fa.zip |
packaging: add tools-exynos for testing exynos_drm
This patch adds tools-exynos package to test fimg2d/ipp/rottest.
Change-Id: I8dbd821f056ac3f7e2a043a97d0c39bec7f75b40
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
-rw-r--r-- | packaging/libdrm.spec | 23 | ||||
-rw-r--r-- | tests/ipptest/Makefile.am | 5 | ||||
-rw-r--r-- | tests/rottest/Makefile.am | 5 |
3 files changed, 27 insertions, 6 deletions
diff --git a/packaging/libdrm.spec b/packaging/libdrm.spec index 9de30eca..f430a2fb 100644 --- a/packaging/libdrm.spec +++ b/packaging/libdrm.spec @@ -23,6 +23,13 @@ Provides: libdrm = %version-%release %description tools Diagnoistic tools to run a test for DRI and DRM +%package tools-exynos +Summary: Diagnostic utilities for exynos +Group: Graphics & UI Framework/Utilities + +%description tools-exynos +Diagnoistic tools to run a test for exynos + %package devel Summary: Userspace interface to kernel DRM services Requires: kernel-headers @@ -62,21 +69,18 @@ cp %{SOURCE1001} . --disable-nouveau-experimental-api \ --disable-radeon \ --disable-nouveau \ - --enable-exynos-experimental-api + --enable-exynos-experimental-api \ + --enable-install-test-programs make %{?_smp_mflags} make %{?_smp_mflags} -C tests dristat drmstat %install %make_install -make -C tests/modeprint install DESTDIR=$RPM_BUILD_ROOT -make -C tests/modetest install DESTDIR=$RPM_BUILD_ROOT %{__mkdir} -p $RPM_BUILD_ROOT/usr/bin %{__install} \ tests/.libs/dristat \ - tests/.libs/drmstat \ - tests/modeprint/.libs/modeprint \ - tests/modetest/.libs/modetest $RPM_BUILD_ROOT/usr/bin + tests/.libs/drmstat $RPM_BUILD_ROOT/usr/bin %post -p /sbin/ldconfig @@ -100,9 +104,16 @@ make -C tests/modetest install DESTDIR=$RPM_BUILD_ROOT %manifest %{name}.manifest %_bindir/dristat %_bindir/drmstat +%_bindir/kmstest %_bindir/modeprint %_bindir/modetest +%files tools-exynos +%manifest %{name}.manifest +%_bindir/exynos_fimg2d_test +%_bindir/ipptest +%_bindir/rottest + %files devel %manifest %{name}.manifest %dir %{_includedir}/libdrm diff --git a/tests/ipptest/Makefile.am b/tests/ipptest/Makefile.am index 406a2931..7b10df95 100644 --- a/tests/ipptest/Makefile.am +++ b/tests/ipptest/Makefile.am @@ -4,8 +4,13 @@ AM_CFLAGS = \ -I$(top_srcdir)/exynos/ \ -I$(top_srcdir) +if HAVE_INSTALL_TESTS +bin_PROGRAMS = \ + ipptest +else noinst_PROGRAMS = \ ipptest +endif ipptest_SOURCES = \ fimctest.c \ diff --git a/tests/rottest/Makefile.am b/tests/rottest/Makefile.am index 38975356..32192ba9 100644 --- a/tests/rottest/Makefile.am +++ b/tests/rottest/Makefile.am @@ -4,8 +4,13 @@ AM_CFLAGS = \ -I$(top_srcdir)/exynos/ \ -I$(top_srcdir) +if HAVE_INSTALL_TESTS +bin_PROGRAMS = \ + rottest +else noinst_PROGRAMS = \ rottest +endif rottest_SOURCES = \ rottest.c \ |