From patchwork Fri Jul 13 12:17:36 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: 943491 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ko5icxWd"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41RsRy123Wz9s0n for ; Fri, 13 Jul 2018 22:24:14 +1000 (AEST) Received: from localhost ([::1]:36992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx7J-0000tW-6S for incoming@patchwork.ozlabs.org; Fri, 13 Jul 2018 08:24:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1I-0004p4-Cg for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1F-0003op-83 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:56 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:52412) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1F-0003nk-1e for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: by mail-wm0-x22d.google.com with SMTP id o11-v6so2697614wmh.2 for ; Fri, 13 Jul 2018 05:17:52 -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=lBP9QPie20XtTxSBnOWW8k2+GL1mfeqNCoiNavu2SL8=; b=ko5icxWdKWNcAT1Oz8gonbO9oDQKIq75NVL5oHzkZytRdQAY14tE7iYqJtwAPe/077 rsaOD9ZwGy6B+wKomLb2qvDQo3bucGdwZDT07XKHMVXUcrWVafj88jsbDBIjjBycMzXf Xpmvr8r6LXD7sPo3GXHELCoQNk68UqeTdnM7I= 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=lBP9QPie20XtTxSBnOWW8k2+GL1mfeqNCoiNavu2SL8=; b=dWBv8WMXFX1WGDfr3BjJSWCk+j0xrXxGH0A6wBC34AJbNR6L15QFT18AllD2n6XHyC wAnAmUBS+8hzdveotN1gdKCnKvgNorsQ4mVrq3Xgdl6zYcK85f/RUIdkEmtPxza6xarX zaIm+TS7Hv/QVrxpQdWKl4W6YGzu0oT8mWKgsmzxz9iDDsnTCY6L/uvhp4fdrZa8ySmP 3sKl5ziHV9zKtuqVFYagdk26+2l/gwrDLBlJGSMprkbYv4y+mAyAvnzV5wCnIsrY2yxd QJbZIgnho2bGhBtkFo+kMe/k6iIbkUC5hX6teaYYTeaHW2mtA2lWvIi7H2CRpCTTOCCB 68Lw== X-Gm-Message-State: AOUpUlESN2PSvNZgh7nbhVtGHiJCCPRr7/uTjmotby/4gT7HXrh1cKkc GERArHVNHjOwyxv/TukIPiH3Og== X-Google-Smtp-Source: AAOMgpcBzbJQi0TCbVdm1rNs2Pk26NbmQmk2Okt7jbO/5hqLEUmEzq21NP75dats2rQaGqF8S4UqLQ== X-Received: by 2002:a1c:84d0:: with SMTP id g199-v6mr4123171wmd.90.1531484271923; Fri, 13 Jul 2018 05:17:51 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 73-v6sm11470712wmu.37.2018.07.13.05.17.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C7E763E07DF; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:36 +0100 Message-Id: <20180713121741.19262-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-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::22d Subject: [Qemu-devel] [PATCH v2 for 3.0 11/16] 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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é --- v2 - docker-test -> docker-all-tests --- tests/docker/Makefile.include | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index fe63aacf69..e32c35be0d 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -151,7 +151,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) \ ) \ ) @@ -161,7 +162,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,'