From patchwork Wed Dec 14 17:12:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 88049 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp312403qgi; Wed, 14 Dec 2016 09:24:03 -0800 (PST) X-Received: by 10.200.55.69 with SMTP id p5mr102483755qtb.67.1481736243222; Wed, 14 Dec 2016 09:24:03 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [208.118.235.17]) by mx.google.com with ESMTPS id s7si30413987qta.337.2016.12.14.09.24.02 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 14 Dec 2016 09:24:03 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHDHc-0004tx-NE for patch@linaro.org; Wed, 14 Dec 2016 12:24:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHD7w-0006BW-Il for qemu-devel@nongnu.org; Wed, 14 Dec 2016 12:14:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHD7q-0001z7-Nd for qemu-devel@nongnu.org; Wed, 14 Dec 2016 12:14:00 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:35122) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHD7q-0001yy-Hg for qemu-devel@nongnu.org; Wed, 14 Dec 2016 12:13:54 -0500 Received: by mail-wm0-f50.google.com with SMTP id a197so123132919wmd.0 for ; Wed, 14 Dec 2016 09:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5pQGAU0f4PfLKc2F0ENIawXIAHnnqRQQ1veEfO11uyU=; b=bFcnIFMtkPUjSoFCqcuABG/grwwLlQDC4CcqPIHV6zoRrGvn4bgUqQu/WmVDv9y+YI m61F3a0okNraPVOkKK2M82So1d9Qpec8HeFqhBZoplNvCzx/TSVci8OUYbJUPrwONNAf 6w3HqdBHs5swcdIEc5gqzTM1c3egH5+ETB8EE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5pQGAU0f4PfLKc2F0ENIawXIAHnnqRQQ1veEfO11uyU=; b=m7vfIA0XsDenQKcvYd+ml30/VPbI3DmxslZng9tCRAPJ5lyCp6lhpWhHVLHOtsKd8y LLvSeu1QYYjzmD3nCZ/wG5Ea1TaTkJyrlhWc8I7oKwiRZJa378iZdnXWrfUzh4SX5Bin mIMyTyNqjgXqcy2TkHEZ8J7lpLSbnJHUa1sE7dIIRcfxG6BqanJYq5hfSGui/n288jqB VYyt+0vae3onuMlmu9OQmWB/uEYPkQOZT0bqJ2/Qbp8THvWozhNMO7mCfpiXO6se5AfD N9MubHX+O9qMKp+U+MHiuV1iQHmQVQnwHTmyCVVeF3T73TBxcAVpVmbrIhNRsy1cH+wo 5vqg== X-Gm-Message-State: AKaTC00DgkKaqxVjRerDItTaHOEtb06mKfQ1IBxuSXIcebTwKXKhD89GhAjoW4YkEhDpcsa5 X-Received: by 10.28.189.69 with SMTP id n66mr8219250wmf.35.1481735573421; Wed, 14 Dec 2016 09:12:53 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 204sm8527554wmj.7.2016.12.14.09.12.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Dec 2016 09:12:50 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 9909B3E07F3; Wed, 14 Dec 2016 17:12:48 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: bobby.prani@gmail.com, marcandre.lureau@redhat.com Date: Wed, 14 Dec 2016 17:12:43 +0000 Message-Id: <20161214171244.26813-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161214171244.26813-1-alex.bennee@linaro.org> References: <20161214171244.26813-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.50 Subject: [Qemu-devel] [RFC/POC PATCH 3/4] tests/tcg: don't run tests by default X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" If we are going to be doing the build in a different place we might not have binfmt setup and certainly won't have a qemu built. Signed-off-by: Alex Bennée --- tests/tcg/arm/Makefile | 2 +- tests/tcg/misc/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.11.0 diff --git a/tests/tcg/arm/Makefile b/tests/tcg/arm/Makefile index a7c8953bf4..c374f719c8 100644 --- a/tests/tcg/arm/Makefile +++ b/tests/tcg/arm/Makefile @@ -24,7 +24,7 @@ LDFLAGS=-nostdlib TESTS=hello-arm arm-iwmmxt -all: $(patsubst %,run-%,$(TESTS)) +all: $(TESTS) test: all # rules to run tests diff --git a/tests/tcg/misc/Makefile b/tests/tcg/misc/Makefile index 0aa6f2ea21..6070107898 100644 --- a/tests/tcg/misc/Makefile +++ b/tests/tcg/misc/Makefile @@ -29,7 +29,7 @@ TESTS=linux-test \ sha1 \ test-mmap -all: $(patsubst %,run-%,$(TESTS)) +all: $(TESTS) test: all # rules to run tests @@ -64,7 +64,7 @@ testthread: testthread.c # generic Linux and CPU test linux-test: linux-test.c - $(CROSS_CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lm + $(CROSS_CC) ${QEMU_INCLUDES} $(CFLAGS) $(LDFLAGS) -o $@ $< -lm test-mmap: test-mmap.c $(CROSS_CC) $(CFLAGS) -Wall -O2 $(LDFLAGS) -o $@ $< -static