diff options
author | Chanho Park <chanho61.park@samsung.com> | 2014-09-12 18:27:05 +0900 |
---|---|---|
committer | Quanxian Wang <quanxian.wang@intel.com> | 2014-10-15 12:14:06 +0800 |
commit | 9beea71f40b12df605e82ecb965bbd7baaaa2f16 (patch) | |
tree | 7d0d7d9ded9be9f0244cd4cabada8657f07600aa | |
parent | c17d4db0c7f33c0ed9038010eea2f95a45de7e62 (diff) | |
download | libdrm-9beea71f40b12df605e82ecb965bbd7baaaa2f16.tar.gz libdrm-9beea71f40b12df605e82ecb965bbd7baaaa2f16.tar.bz2 libdrm-9beea71f40b12df605e82ecb965bbd7baaaa2f16.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 \ |