diff mbox

[libdrm] proptest: install it with --enable-install-test-programs

Message ID 1425632080-15832-1-git-send-email-djkurtz@chromium.org (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Kurtz March 6, 2015, 8:54 a.m. UTC
--enable-install-test-programs allows tests to be installed in $bindir.
This is disabled by default, but very useful when cross compiling.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
---
 tests/proptest/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Daniel Kurtz March 19, 2015, 5:43 p.m. UTC | #1
On Fri, Mar 6, 2015 at 4:54 PM, Daniel Kurtz <djkurtz@chromium.org> wrote:
> --enable-install-test-programs allows tests to be installed in $bindir.
> This is disabled by default, but very useful when cross compiling.
>
> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>

Ping?

Can somebody please help review & push this patch.

Thanks,
-Dan


> ---
>  tests/proptest/Makefile.am | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/tests/proptest/Makefile.am b/tests/proptest/Makefile.am
> index 48a84c1..0594e02 100644
> --- a/tests/proptest/Makefile.am
> +++ b/tests/proptest/Makefile.am
> @@ -3,8 +3,13 @@ AM_CFLAGS = \
>         -I$(top_srcdir)/include/drm \
>         -I$(top_srcdir)
>
> +if HAVE_INSTALL_TESTS
> +bin_PROGRAMS = \
> +       proptest
> +else
>  noinst_PROGRAMS = \
>         proptest
> +endif
>
>  proptest_SOURCES = \
>         proptest.c
> --
> 2.2.0.rc0.207.ga3a616c
>
diff mbox

Patch

diff --git a/tests/proptest/Makefile.am b/tests/proptest/Makefile.am
index 48a84c1..0594e02 100644
--- a/tests/proptest/Makefile.am
+++ b/tests/proptest/Makefile.am
@@ -3,8 +3,13 @@  AM_CFLAGS = \
 	-I$(top_srcdir)/include/drm \
 	-I$(top_srcdir)
 
+if HAVE_INSTALL_TESTS
+bin_PROGRAMS = \
+	proptest
+else
 noinst_PROGRAMS = \
 	proptest
+endif
 
 proptest_SOURCES = \
 	proptest.c