qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Makefile: Properly order build targets 'all' and 'c


From: Michal Privoznik
Subject: [Qemu-devel] [PATCH] Makefile: Properly order build targets 'all' and 'check'
Date: Tue, 23 Jun 2015 14:30:19 +0200

I'm used to run 'make -j5 all check'. However, this is not possible in
qemu because of the missing dependency in the Makefile. If I do that,
tests are usually started with build and since not everything is built
yet, they often fail too. Moreover, we should run test suite only
after every binary we want to test has been built.

Signed-off-by: Michal Privoznik <address@hidden>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index e7c5c3a..67eeb87 100644
--- a/Makefile
+++ b/Makefile
@@ -151,6 +151,7 @@ dummy := $(call unnest-vars,, \
 
 ifneq ($(wildcard config-host.mak),)
 include $(SRC_PATH)/tests/Makefile
+check: all
 endif
 ifeq ($(CONFIG_SMARTCARD_NSS),y)
 include $(SRC_PATH)/libcacard/Makefile
-- 
2.3.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]