qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Makefile: Properly order build targets 'all' and 'check'
@ 2015-06-23 12:30 Michal Privoznik
  2015-06-23 12:37 ` Peter Maydell
  0 siblings, 1 reply; 10+ messages in thread
From: Michal Privoznik @ 2015-06-23 12:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

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 <mprivozn@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-06-25  9:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-23 12:30 [Qemu-devel] [PATCH] Makefile: Properly order build targets 'all' and 'check' Michal Privoznik
2015-06-23 12:37 ` Peter Maydell
2015-06-23 12:42   ` Michal Privoznik
2015-06-23 12:49     ` Thomas Huth
2015-06-23 13:35       ` Michal Privoznik
2015-06-23 17:29         ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2015-06-23 17:31         ` [Qemu-devel] " Peter Maydell
2015-06-23 17:46           ` Stefan Weil
2015-06-25  7:08             ` Markus Armbruster
2015-06-25  9:13               ` Michal Privoznik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).