From patchwork Fri Sep 15 15:08:44 2023 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: 723121 Delivered-To: patch@linaro.org Received: by 2002:adf:f0d1:0:b0:31d:da82:a3b4 with SMTP id x17csp436480wro; Fri, 15 Sep 2023 08:11:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHkk7N1aQaABPxfDDKX5p1RzZMBgk/2qpKWVWfGj28P+SJRsUowHi5RxbBfP+P0NMsImiFD X-Received: by 2002:a05:620a:28c1:b0:773:a770:bd9d with SMTP id l1-20020a05620a28c100b00773a770bd9dmr1942726qkp.16.1694790699160; Fri, 15 Sep 2023 08:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694790699; cv=none; d=google.com; s=arc-20160816; b=H9n+huELkINIX71p7arJSj+3c54MubfO/hKGQGBMCeomwBjGVhtpL1QyMKlNBXOujM irQv+jLAYkHPGCw/yuqJBf/xuAXYifMJRI8jjso8XK45xbnAGFjKTvuFT1Y8l9X85i2/ UB+anHe4Z+jnXbzU984WDEnS2ubHJPPI+orocmYrlFsJay2M6QKdRylXUUAnCaqiD2dh X8bx1qJz95foKEa/VffNXsyb1t+nEOCUOf7oliiO3P5/sTiqnl8/jetI3L9pFaVfDtnD wGk8XDrw8BNTJ6JERbi9bV/V2X1D8IrW2/Kt2R79sprrgKiEJ7GRgqbihy4swpQJzX4W Tlfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=q10Bjf5twhWJo+XU63cogYzeT8gsJVx5jFBjBqDS8Tg=; fh=Lb20ZOWMOz1ozKWJ58VyylpPLm/WQ8gBMJGYYWec1So=; b=te/HoFodGZC0cDWIIdlNM7u8CxQYDnw3FYBKOWVJH2L6XyI7LVD0DnMUhFyMGu4Qkl gEjOLWz9pWROGAyVvK5Ef0K1n+uTpBg2jOcqxL1GwAS24zEekTMdLNuXBqmcOCkL1dGR ZMS2H+I5jmFSNofeQC/QCxD6MMOMkdFbb3IVFXZ0AW6iuT/Ev8tKsKcw7LVJ39uNxl0Z ZrPBrtOpV3JWHBSOUt7EflP0o+zD/J++Mbkh4Jlk1HGt7xKAzjjkV5d/q7VugMlC8Lvi 5HDwx+3XZgOq/Pv/NbSvnUT8aD9wFldfK3KzdkN+q2PWkmds57cVECgOdwes8It0n3XZ hYAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gJdn8rWI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t25-20020a05620a0b1900b0077263b2be76si2415141qkg.362.2023.09.15.08.11.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Sep 2023 08:11:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gJdn8rWI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhARU-0003MY-9P; Fri, 15 Sep 2023 11:09:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhARG-0003C5-5h for qemu-devel@nongnu.org; Fri, 15 Sep 2023 11:08:58 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhARD-000298-14 for qemu-devel@nongnu.org; Fri, 15 Sep 2023 11:08:57 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-404c023ef5eso2658775e9.2 for ; Fri, 15 Sep 2023 08:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694790533; x=1695395333; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=q10Bjf5twhWJo+XU63cogYzeT8gsJVx5jFBjBqDS8Tg=; b=gJdn8rWIsk+flH72+FR1NVOK7DrEwHP2D6SwsCHV4W0M/RiNS1ZUqmt3UNo3zg3tkc ZfC7/hXXi+8L/ZCdw4T/6oox9Map0gwgaVK1cj9Wvfq04mLKw8jIX7tZkENtotfBsUM+ l0dCU0YCdaYLMhPMweBJWuAjP1+6BgQQIe+AXSrJWdltrVfwf4FpYWJ2/MKQSYCeKZJb +F3s9qlv/dELmbE9Oibp2ZjaaCfbflghipsgL/aQWoFfw81pd0PGOqY5VhhNpniDmO1E BKYGiRM/F/vPxXSXFjrNrnSQxiuHARzsCymoya13QMRgfP07OEs3+3M2aIw4pud6hlqh ZJWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694790533; x=1695395333; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q10Bjf5twhWJo+XU63cogYzeT8gsJVx5jFBjBqDS8Tg=; b=wwhYlo8SBNerhnstl8vh6P/Y8MLMUx5A1qOVA6wGfAvENvKFPvjzm789U6oqJh8jI/ 9uHrgybQdhu12CacaMIc2p9DvxCfdxOb/jVLjF19ehnEfeOrSQtJCMElx8pJkEZcPByp pGnJORG098brd6XX6PF20bZJhplYEMM3pxIV0h29aByhKaXl34NeDWgLME0Ci1cJGFKy B+2RN0rVW2suDA2WuhFHPyhOxIrmwUmmW0qpHQine8MwL5JWX24tScgZBnTshtt9ncGy nWjAwjETwnM3/HAUH2Hk056LbHEcO4yQrXzk8qhtl5+1OqFJKzVkN7MSEo771lw5OsSK L6Aw== X-Gm-Message-State: AOJu0YyuUfjOcIr9amtQuzn2agz95P72772GYsDsd91HynjwZxt4tVEm 0CZODWWYyYNqdrjFsXn9O46d3w== X-Received: by 2002:a5d:61cc:0:b0:317:5de3:86fb with SMTP id q12-20020a5d61cc000000b003175de386fbmr1589727wrv.10.1694790533208; Fri, 15 Sep 2023 08:08:53 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ba13-20020a0560001c0d00b0031ddf6cc89csm1940914wrb.98.2023.09.15.08.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 08:08:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6067C1FFBF; Fri, 15 Sep 2023 16:08:50 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Richard Henderson , Stefan Hajnoczi , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Joel Stanley , Peter Maydell , Laurent Vivier , Paolo Bonzini , qemu-arm@nongnu.org (open list:NRF51) Subject: [PULL 4/9] microbit: add missing qtest_quit() call Date: Fri, 15 Sep 2023 16:08:44 +0100 Message-Id: <20230915150849.595896-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230915150849.595896-1-alex.bennee@linaro.org> References: <20230915150849.595896-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Daniel P. Berrangé Without this call, the QEMU process is being left running which on FreeBSD 13.2 at least, makes meson think the test is still running, and thus execution of "make check" continues forever. This fixes the regression introduced in: commit a9c9bbee855877293683012942d3485d50f286af Author: Chris Laplante Date: Tue Aug 22 17:31:02 2023 +0100 qtest: microbit-test: add tests for nRF51 DETECT Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1882 Signed-off-by: "Daniel P. Berrangé" Reviewed-by: Richard Henderson Reviewed-by: Stefan Hajnoczi Reviewed-by: Thomas Huth Message-Id: <20230912184130.3056054-2-berrange@redhat.com> Signed-off-by: Alex Bennée Message-Id: <20230914155422.426639-5-alex.bennee@linaro.org> diff --git a/tests/qtest/microbit-test.c b/tests/qtest/microbit-test.c index 2abcad8e31..72190d38f7 100644 --- a/tests/qtest/microbit-test.c +++ b/tests/qtest/microbit-test.c @@ -434,6 +434,8 @@ static void test_nrf51_gpio_detect(void) g_assert_true(qtest_get_irq(qts, 0)); qtest_set_irq_in(qts, "/machine/nrf51", "unnamed-gpio-in", 3, 0); g_assert_true(qtest_get_irq(qts, 0)); + + qtest_quit(qts); } static void timer_task(QTestState *qts, hwaddr task)