summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2015-03-06 16:54:40 +0800
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-20 17:18:01 +0000
commit292b5100e5719343f4ffdd193ce5c582388ed05e (patch)
treee4343ee0d3b042457e133839dda0ca269efbe1c2
parentd9b6a69252fb2c0b68470de2d1e46cd9fd4f1f03 (diff)
proptest: install it with --enable-install-test-programs
--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> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--tests/proptest/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/proptest/Makefile.am b/tests/proptest/Makefile.am
index 48a84c1e..0594e02e 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