From patchwork Tue Jul 17 19:55:46 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: 945319 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="QsXirsZZ"; 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 41VWMf389bz9s7Q for ; Wed, 18 Jul 2018 05:59:42 +1000 (AEST) Received: from localhost ([::1]:32930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffW8K-0005fF-64 for incoming@patchwork.ozlabs.org; Tue, 17 Jul 2018 15:59:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffW4r-000335-Ed for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffW4q-0004hh-K3 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:05 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:51925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffW4q-0004g4-CT for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:04 -0400 Received: by mail-wm0-x233.google.com with SMTP id h3-v6so128529wmb.1 for ; Tue, 17 Jul 2018 12:56:04 -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=3JPvvh5QXlLcGMWUhLyblX++7+0qWrYLLcmiVFowQzA=; b=QsXirsZZhIyVdEo972cvlPS+zT6nV1b+IYErMDy8QaJWudFr9Xtz0udYFzSdEXewSn HCBr7BWnd2brVRp5dGzNKX8NFetDhqTni83lE+ijRFlOuxkgd07LN7TBaMC+DUl7B20/ d6Ik4fUK3lT2GrM8VILvYfs6CMeu0xtT3pKtY= 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=3JPvvh5QXlLcGMWUhLyblX++7+0qWrYLLcmiVFowQzA=; b=VgPTFOgWPpamgB1EPeZVv0JFDOE5+mwI2SryZvymYZjBRlcXO/3/XDV0fywRDzWC+K Ez32zVj4YRNSnbRh1zk9E0iS8brwHXF2Oo+LuFL/pgRj+8eRZxBs8XvmLAlLq5/Fs6HN IFOPrWUKycad+33OYTK8+XGwYgwJKEpruDV0Sr2todWS5DvJllO9mVjLT1BjWxL1BiOw rygZdhbLJeKHFz33PPKK2OCd2PtCvnq0JqDJgL1JvYFTinAWomGfizIxlxQtH/nqZUC8 nWC+wOJovq4mQ59JI/gOed0PlNjV0B2RHg1RYEZkDn4GefuyIeQU7XJbdJe0blUa0ibe sPlg== X-Gm-Message-State: AOUpUlEjUJ475TJGIVbcc+Niq7NDz43FKdIK72DhI9MG4yRfOM0VsWIR 67ZiAW4FEAHOGFmWWDcL4IeTgg== X-Google-Smtp-Source: AAOMgpfNut7AwT//mE+fDCQ5R6L/sooqXpkkf1ArnelrfpekE8EwNX5bqcL9l3w2rQglUMZAaSgeog== X-Received: by 2002:a1c:ac44:: with SMTP id v65-v6mr2093447wme.25.1531857363098; Tue, 17 Jul 2018 12:56:03 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id f18-v6sm2476019wrt.64.2018.07.17.12.55.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 12:56:01 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id B4BB13E0BBB; Tue, 17 Jul 2018 20:55:54 +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: Tue, 17 Jul 2018 20:55:46 +0100 Message-Id: <20180717195553.9111-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180717195553.9111-1-alex.bennee@linaro.org> References: <20180717195553.9111-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::233 Subject: [Qemu-devel] [PATCH v3 for 3.0 11/18] 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,'