[PATCH spice-streaming-agent] Only build unit tests when running make check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Removing noinst_PROGRAMS from src/unittests/Makefile.am will cause the
unit tests not be built on a regular build (`make`), they will only be
built when running the tests (`make check`).

C++ unit test frameworks are notorious for long build times too.

Signed-off-by: Lukáš Hrázký <lhrazky@xxxxxxxxxx>
---
I am not sure if there was another reason for noinst_PROGRAMS, but I
don't think so.

 src/unittests/Makefile.am | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/unittests/Makefile.am b/src/unittests/Makefile.am
index 0fc6d50..cf7adba 100644
--- a/src/unittests/Makefile.am
+++ b/src/unittests/Makefile.am
@@ -23,10 +23,6 @@ TESTS = \
 	test-mjpeg-fallback \
 	$(NULL)
 
-noinst_PROGRAMS = \
-	$(check_PROGRAMS) \
-	$(NULL)
-
 hexdump_SOURCES = \
 	hexdump.c \
 	$(NULL)
-- 
2.16.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]