From patchwork Tue Jul 24 10:51:02 2018 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: 142763 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7124022ljj; Tue, 24 Jul 2018 04:02:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdJQnPTN8vKJqFSq3jnDD8BCi4PKWai+nvtN5/VPyKPyVQuPgZVADFMsJSwvt4Etk0FZ//3 X-Received: by 2002:a37:a24f:: with SMTP id l76-v6mr14216992qke.406.1532430151931; Tue, 24 Jul 2018 04:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532430151; cv=none; d=google.com; s=arc-20160816; b=yLsphHpU3ivbpBxqCHlZtj7AD/WnTL9vw2z4+lSu1or4Hi6zUKFiBqj5WuPrPy6PjY KTRKn01/mmScqQrjDlwnDY4bTnQ0CoeBSpwzNRrDq7+O1CLRcH3Cnd1G+l7dx7o9/ByS 9LtowsjoOPMDHwbzf8P6C+SYeir3FESD2VIb+xA0GveXQoe4ixmBJ1pvEDP/zUhoJWWE 7g4UK4QoWAdbf+bJc2S4sKGYo+qTRR/y63UxOpXrExMen2r87/dKHY7bio0EJODGCt9n bABgRUIhJ8X29+nj1T6DBdEuTEuTJ7/Zz+GXgftgXCgcIl8bpW9/pKyowQTW/54kok6S jPHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=errvMS9Ftu4xXKTrYquHE8yM488G2q+uPGhdhfHjxpw=; b=N8BIERx0KM/bM/LBdxxCZuryAhxu1anVOEVSNeXzA+t+JMJ/T1VN9bpTGAvnGe0U9n rcgnWccMFkBi8h1NKL6U4XcqJW6n0xtn0je3uBmlGJzJoukD7ggGQODCKw68iZXyNN34 Zw+bmr9UTFfNWwGeLSpdewHCqUB8PXZnoG6zqIIJrtqiTZJ9xXADt1Qukysjo+R9fayc mSBqJyee2yE2YD4dV4lq6ZNVyZkV7gvXs0uGJPU8SRcSwcqeY2gHDPnFp/MAVPoKWgms 8WavxWzbZ1gP/4SFbZU8Dhp2HYvsHoNl69nzAcmejwYS2sYGH9PxHfuWwRcMxhXyjjHF qQNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LPpnpdUK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id m123-v6si7175908qkc.165.2018.07.24.04.02.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Jul 2018 04:02:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LPpnpdUK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhv5L-0002AF-E1 for patch@linaro.org; Tue, 24 Jul 2018 07:02:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhuue-00011Z-RW for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhuua-0006Xz-6u for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:28 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:53509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhuuZ-0006XZ-W5 for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:24 -0400 Received: by mail-wm0-x232.google.com with SMTP id s9-v6so2063181wmh.3 for ; Tue, 24 Jul 2018 03:51:23 -0700 (PDT) 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=errvMS9Ftu4xXKTrYquHE8yM488G2q+uPGhdhfHjxpw=; b=LPpnpdUKn60mRhUc1s7Y8W4vlpJVDZzUIkvRFrd/KWba3ICvSbc7qE2yedjc8iMcPS CMjCBjzFQeFJbKcp8ctYZc8uNdC+BfqazseewHpkUR3JtXIM65z4Yh2IxME2uNwXJd6F VZHMgPVlyN+dtDOANoRrrI2PlZ1E8etd2c8jE= 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=errvMS9Ftu4xXKTrYquHE8yM488G2q+uPGhdhfHjxpw=; b=WXnj9etf1+zczZziv9ZvZAEqDVmKzhwhRMTkiyxMiHohAkMDJlIMRcCYBeKNzr+THP IoqtNhBqafTFUMrXfCINd/ApTDZZ66XbQu1HOAEzQukQnVBxu/38BFj1omcmKbeGghtA 5AGLqpBFixPtVnxKAb9f9NdjN+V+0VAONpKmgwOuLjxkHagJc1VRW+fJt5MG+V9oNTwV 4du7yZSVW6X57c5eJQ9F5bKuFKYltyf3mgZ9YWeTfuJd6WIZVMtz5vX23b/xsFYutAB8 m9PoakqW76bKOM0TfzpnWojkuEGlPtW74TOz+ylDYrsZki2fo7gfqCfA9D9vtO5/qmq0 AABQ== X-Gm-Message-State: AOUpUlEzNMXKvIiD511EqSE+fE1huxnl5Ctb/Nw3Vb4pNjjTfo717Q5r KIZrOq9FpFT/88FgmBu854wRIfEy3B8= X-Received: by 2002:a1c:3620:: with SMTP id d32-v6mr1756399wma.95.1532429482844; Tue, 24 Jul 2018 03:51:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id m207-v6sm1460665wma.31.2018.07.24.03.51.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 03:51:17 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A5D163E069F; Tue, 24 Jul 2018 11:51:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 24 Jul 2018 11:51:02 +0100 Message-Id: <20180724105109.8392-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724105109.8392-1-alex.bennee@linaro.org> References: <20180724105109.8392-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::232 Subject: [Qemu-devel] [PULL 10/17] docker: add expansion for docker-test-FOO to Makefile.include 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This allows us to run a particular test on all docker images. For example: make docker-test-unit Will run the unit tests on every supported image. At the same time rename docker-test to docker-all-tests to be clearer. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 09fb7db7fa..8fbb076396 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -148,7 +148,8 @@ $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPR $(eval docker-$t@$i: docker-image-$i docker-run-$t@$i) \ ) \ $(foreach t,$(DOCKER_TESTS), \ - $(eval docker-test: docker-$t@$i) \ + $(eval docker-all-tests: docker-$t@$i) \ + $(eval docker-$t: docker-$t@$i) \ ) \ ) @@ -158,7 +159,8 @@ docker: @echo 'Available targets:' @echo @echo ' docker: Print this help.' - @echo ' docker-test: Run all image/test combinations.' + @echo ' docker-all-tests: Run all image/test combinations.' + @echo ' docker-TEST: Run TEST on all image combinations.' @echo ' docker-clean: Kill and remove residual docker testing containers.' @echo ' docker-TEST@IMAGE: Run "TEST" in container "IMAGE".' @echo ' Note: "TEST" is one of the listed test name,'