tests/drmdevices: install alongside other utilities
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 25 Jun 2018 16:45:23 +0000 (17:45 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 Jul 2018 15:27:37 +0000 (16:27 +0100)
It's mildly useful program, to ship it when the user wants the "tests"
installed. Obviously the "tests" in the name is a misnomer.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
tests/Makefile.am

index 0355a92..b72c24f 100644 (file)
@@ -43,5 +43,10 @@ TESTS = \
        random
 
 check_PROGRAMS = \
-       $(TESTS) \
-       drmdevice
+       $(TESTS)
+
+if HAVE_INSTALL_TESTS
+bin_PROGRAMS = drmdevice
+else
+check_PROGRAMS += drmdevice
+endif