From nobody Fri May 17 08:24:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1587390296; cv=none; d=zohomail.com; s=zohoarc; b=hpF52BOCfdmPWTpjCT/fviKSYgieKdx4YLracGszGnyYa8n7rHkIvhKblvdcOq3juflQJgp+YU9E3fuVVgY+09ejYECZL9Ma8PHi4ZHu7g8vViK5xyKQk5nvUPfK9OmiSPNaUnkLJl/va90zWJr54aVETS1uSfFOviryqZaI+Kc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587390296; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=t5aCOcvr56XHS9qZa9KjXvG7frU1XUx0WSgEKCSykPw=; b=ct0Gkcz0m0MlxnHGzLZFz1fMkaClPMuTncPwaiyRwgQeh4tsLjhmJPonhqEopBTcxDutwLJg37xCTYQAiew7FbYtPYg4YjFhIcvx0DLOq8CBDMg0UtzrguaNyJ3aGwtKtFT0qkHGRju23iXaKChaViWZPhPR26Tm+ANKSi41xkU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1587390296980994.1815516571235; Mon, 20 Apr 2020 06:44:56 -0700 (PDT) Received: from localhost ([::1]:35970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQWjH-0007Fv-Or for importer@patchew.org; Mon, 20 Apr 2020 09:44:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33184 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQWZk-0007Pv-93 for qemu-devel@nongnu.org; Mon, 20 Apr 2020 09:35:05 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQWZj-0000PL-Kz for qemu-devel@nongnu.org; Mon, 20 Apr 2020 09:35:04 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:42199) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQWZj-0000Ls-0C for qemu-devel@nongnu.org; Mon, 20 Apr 2020 09:35:03 -0400 Received: by mail-wr1-x430.google.com with SMTP id j2so12165452wrs.9 for ; Mon, 20 Apr 2020 06:35:02 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j4sm1161155wrm.85.2020.04.20.06.35.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 06:35:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id F14481FF7E; Mon, 20 Apr 2020 14:34:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t5aCOcvr56XHS9qZa9KjXvG7frU1XUx0WSgEKCSykPw=; b=Txh+1q5y0xEa3jIbOpuCP7C4St3cxe2BD5svaKLjQaJLuR0yJCJa+8fXPkv5W5PNaC LgMUOCMenq5bHy/fKX3AhWEhV1IUctaprhyRooJyj6p34fi1QXKxFc+mN9asJggLmeXp tD2f5SCj9c3rIQVRu+8ApW42esfvHNKBOFCAM6/YZf7LaVMf8t1TH4SacEBLUnYaFeRC YRmaB1Gg1fa9eHuo7rO5Z6SlMsx634vhEzANngoekwJFCORcV+Cka6VvoNqHHzSpnBHS L+/xlgzDd7rOG0ODUUhPUx5+EqDM1nUJO6v6BvTCgtRZBvozh3Ig2Hla0qYM9JVXnUjk 1+vw== 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:mime-version :content-transfer-encoding; bh=t5aCOcvr56XHS9qZa9KjXvG7frU1XUx0WSgEKCSykPw=; b=YUZjNS5zsl6DiZKryZ/czvdMj9eicztaqjSn8TT4qUYafRsWjQOPud4/SLeenV+vwd 5SzjdnySq9n6Kw7CXbtR6q0yXbQ+Geh9K/4s2aeuIeH34td8LvY0PhpflBfhhRSSqN2I hwJyNRE6ccEbSh4fGLXYUJUfqlufSS+l+8haV24XqqfOMPl372k3YXMgUmz1lVSOEsDw en7unWI8JzqX6pfXnnaa2M5EVjhuTDBexNBTT5FGXqFkdBXmZ6tErHQczSSGeuN8sAVb HWl//SDNGd8MldhQkzsxJy482IKyiqSECaVPDHYQbfd8JB4kzymHZr/IzNBC29XX/Sm6 P8vA== X-Gm-Message-State: AGi0PuYtUA7cMnHg8qC02q93awgWuz8jdZ8WQrVq+Q/w5iC+eW8Ez4Kz VM2Ox3zoD72VHm/uQp4cBKBRbg== X-Google-Smtp-Source: APiQypKK0BQ5OLTRNKUfU+6f+lrFhpkgqEDAdPNntGut9qLLRXZ1VKw/lZZAzfScWECC6+yIv+acvw== X-Received: by 2002:adf:bc05:: with SMTP id s5mr18468026wrg.70.1587389701466; Mon, 20 Apr 2020 06:35:01 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH] tests/tcg: use EXTRA_RUNS to run gdbtests Date: Mon, 20 Apr 2020 14:34:55 +0100 Message-Id: <20200420133455.25401-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.google.com X-detected-operating-system: by eggs1p.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::430 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , "open list:ARM TCG CPUs" , richard.henderson@linaro.org, "Edgar E. Iglesias" , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) With --enable-plugins the gdb tests confuse things somewhat as the plugin code attempts to enumerate tests with non-existent binaries. Fortunately we already have a mechanism for these extra tests that don't automatically include their own binaries. Use that mechanism and drop the unneeded .PHONY declarations. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Edgar E. Iglesias Reviewed-by: Richard Henderson --- tests/tcg/aarch64/Makefile.target | 5 ++--- tests/tcg/cris/Makefile.target | 1 + tests/tcg/multiarch/Makefile.target | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile= .target index d99b2a9eced..312f36cde5f 100644 --- a/tests/tcg/aarch64/Makefile.target +++ b/tests/tcg/aarch64/Makefile.target @@ -54,9 +54,6 @@ sve-ioctls: CFLAGS+=3D-march=3Darmv8.1-a+sve ifneq ($(HAVE_GDB_BIN),) GDB_SCRIPT=3D$(SRC_PATH)/tests/guest-debug/run-test.py =20 -AARCH64_TESTS +=3D gdbstub-sysregs gdbstub-sve-ioctls - -.PHONY: gdbstub-sysregs gdbstub-sve-ioctls run-gdbstub-sysregs: sysregs $(call run-test, $@, $(GDB_SCRIPT) \ --gdb $(HAVE_GDB_BIN) \ @@ -70,6 +67,8 @@ run-gdbstub-sve-ioctls: sve-ioctls --qemu $(QEMU) --qargs "$(QEMU_OPTS)" \ --bin $< --test $(AARCH64_SRC)/gdbstub/test-sve-ioctl.py, \ "basic gdbstub SVE ZLEN support") + +EXTRA_RUNS +=3D run-gdbstub-sysregs run-gdbstub-sve-ioctls endif =20 endif diff --git a/tests/tcg/cris/Makefile.target b/tests/tcg/cris/Makefile.target index 24c7f2e7616..e72d3cbdb23 100644 --- a/tests/tcg/cris/Makefile.target +++ b/tests/tcg/cris/Makefile.target @@ -23,6 +23,7 @@ CRIS_RUNS =3D $(patsubst %, run-%, $(CRIS_USABLE_TESTS)) =20 # override the list of tests, as we can't build the multiarch tests TESTS =3D $(CRIS_USABLE_TESTS) +EXTRA_RUNS =3D VPATH =3D $(CRIS_SRC) =20 AS =3D $(CC) -x assembler-with-cpp diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Make= file.target index 47fd675aba5..51fb75ecfdd 100644 --- a/tests/tcg/multiarch/Makefile.target +++ b/tests/tcg/multiarch/Makefile.target @@ -45,15 +45,14 @@ run-test-mmap-%: test-mmap ifneq ($(HAVE_GDB_BIN),) GDB_SCRIPT=3D$(SRC_PATH)/tests/guest-debug/run-test.py =20 -MULTIARCH_TESTS +=3D gdbstub-sha1 - -.PHONY: gdbstub-sha1 run-gdbstub-sha1: sha1 $(call run-test, $@, $(GDB_SCRIPT) \ --gdb $(HAVE_GDB_BIN) \ --qemu $(QEMU) --qargs "$(QEMU_OPTS)" \ --bin $< --test $(MULTIARCH_SRC)/gdbstub/sha1.py, \ "basic gdbstub support") + +EXTRA_RUNS +=3D run-gdbstub-sha1 endif =20 =20 --=20 2.20.1