From nobody Fri May 3 08:03:25 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622131745; cv=none; d=zohomail.com; s=zohoarc; b=K2IS+dzl0N3NeolxnzoavyY8C+YGp7nkvknwicn6nIAlCCFW2kMwp7ehA4MzxX/xBT0plN4xWzT0nH8mfq5Y7k6oCH5HD2fS+1TT13Si/bfkE3Ma7qES8ICRDcDE4HWLtiP00FqxCaWiT1HsqPMlMtJ1vBOqsquN55VvbBGbcjo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622131745; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=mz6OklwamQYvc3w9qT/mb2Gq27rR9WEvelWLrLCdxIU=; b=euVnLety6wpBpd4kpCsa+toF4T6ljy6QdKDJcL+BORr45kt0xMMyoEO08m9LWEbZnsN/9xzHlcLyvEmJdoAeLmwOHArR/3MAHNKjRa2HpAtVJ/qIQKLpc558WbYDrEq45nvsxS+3nZHq7qlycajhkYmB0U1D18rehEk0khCjQ7s= 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+importer2=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 1622131745187532.1721543557994; Thu, 27 May 2021 09:09:05 -0700 (PDT) Received: from localhost ([::1]:36704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmIZE-0003pY-6D for importer2@patchew.org; Thu, 27 May 2021 12:09:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmITm-0004oS-4p for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:26 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:34592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmITj-0000K7-59 for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:25 -0400 Received: by mail-wr1-x42f.google.com with SMTP id f11so447780wrq.1 for ; Thu, 27 May 2021 09:03:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s11sm11354478wmf.14.2021.05.27.09.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 09:03:20 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7B4251FF87; Thu, 27 May 2021 17:03:19 +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:in-reply-to:references :mime-version:content-transfer-encoding; bh=mz6OklwamQYvc3w9qT/mb2Gq27rR9WEvelWLrLCdxIU=; b=DDyr73q5RF9tSkYzgnJ1Vsu6kGSMgMDCJ1aCx4v/NuqUBSpRmKnWZtXODuAikntoOU a/RgEobt2PVJmhwWx4hk6fyzpfT+jO3QWbUB0KUfDXmMYx7jRfR690LnvociD37ZJ/KC V90PidXJZZRvqepL535ndpwaYFMiqBYgccUuT8WW5ZzZloDGXHH+RDZIDSF1Wo9wm11p 97eWE9u+9hYFR85Cbs4kZgXmPID7TaQQ1y6H/dlVDKHQlrPQYSiNTwrxYwgQk9Vj6ClS rL++Z36XVuO7qZ52rtafvVMRPR1Cd3VvaqNji8lMT813/huh219LSU+uL6QnSWUbaIuA U/EA== 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=mz6OklwamQYvc3w9qT/mb2Gq27rR9WEvelWLrLCdxIU=; b=niRsG2blB8+2ousZ9oJX1uEUS79glaRSxdMi+ffUaOGH2WDwi5ujGAvpUv/wZW2m+a nrFBRI+VWoOyC6+GC3Ffi4ZUMIJIBRd5C4J2VG4PdtzZrxLDmC+KY1E7zw5lML+qusMm prtNRGi6FCSlpxH14Jb1qSDqMY3RyQ9JVahU+CU24Etog1KebXnaIHYcpV1IsLno0kBN vDJSKCcnlrEa1qjWZRh23zD/Tp/9tXLyGa0JwlZXGGXqpGDABQilWE2uLTsHSIj0Odq9 mnB8uS5itgqjVl0VWvfr5q4GvBZ1NzNiKJ2v4qqza7RodgHRbWd3RPMIVK1hpaHBMU+Q lOOA== X-Gm-Message-State: AOAM5309C+K9xs2qCoWMgWbeDUHDJVj4rz4TIR21vRxrwA/aA6gwGlnN qyNHkByCXLWDKzlRfrY38qEwAQ== X-Google-Smtp-Source: ABdhPJxOikufonvuEqPps/pgyHZAp5qmOqv/CduBUmtfqom8Z1uBzgkW9a7vJIMnzTghc2lwmdDDmQ== X-Received: by 2002:a5d:4151:: with SMTP id c17mr4224079wrq.262.1622131401270; Thu, 27 May 2021 09:03:21 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 1/6] tests/tcg: add a multiarch signals test to stress test signal delivery Date: Thu, 27 May 2021 17:03:14 +0100 Message-Id: <20210527160319.19834-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210527160319.19834-1-alex.bennee@linaro.org> References: <20210527160319.19834-1-alex.bennee@linaro.org> 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.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=ham autolearn_force=no X-Spam_action: no action 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: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) This adds a simple signal test that combines the POSIX timer_create with signal delivery across multiple threads. The aim is to provide a bit more of a stress test to flush out signal handling issues for easily than the occasional random crash we sometimes see in linux-test or threadcount. [AJB: this is still triggering intermittent failures in some guests so will probably be kept out of PRs until that is fixed.] Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210504100223.25427-29-alex.bennee@linaro.org> Reviewed-by: Richard Henderson --- tests/tcg/multiarch/signals.c | 149 ++++++++++++++++++++++++++++ tests/tcg/multiarch/Makefile.target | 2 + 2 files changed, 151 insertions(+) create mode 100644 tests/tcg/multiarch/signals.c diff --git a/tests/tcg/multiarch/signals.c b/tests/tcg/multiarch/signals.c new file mode 100644 index 0000000000..998c8fdefd --- /dev/null +++ b/tests/tcg/multiarch/signals.c @@ -0,0 +1,149 @@ +/* + * linux-user signal handling tests. + * + * Copyright (c) 2021 Linaro Ltd + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +static void error1(const char *filename, int line, const char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + fprintf(stderr, "%s:%d: ", filename, line); + vfprintf(stderr, fmt, ap); + fprintf(stderr, "\n"); + va_end(ap); + exit(1); +} + +static int __chk_error(const char *filename, int line, int ret) +{ + if (ret < 0) { + error1(filename, line, "%m (ret=3D%d, errno=3D%d/%s)", + ret, errno, strerror(errno)); + } + return ret; +} + +#define error(fmt, ...) error1(__FILE__, __LINE__, fmt, ## __VA_ARGS__) + +#define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret)) + +/* + * Thread handling + */ +typedef struct ThreadJob ThreadJob; + +struct ThreadJob { + int number; + int sleep; + int count; +}; + +static pthread_t *threads; +static int max_threads =3D 10; +__thread int signal_count; +int total_signal_count; + +static void *background_thread_func(void *arg) +{ + ThreadJob *job =3D (ThreadJob *) arg; + + printf("thread%d: started\n", job->number); + while (total_signal_count < job->count) { + usleep(job->sleep); + } + printf("thread%d: saw %d alarms from %d\n", job->number, + signal_count, total_signal_count); + return NULL; +} + +static void spawn_threads(void) +{ + int i; + threads =3D calloc(sizeof(pthread_t), max_threads); + + for (i =3D 0; i < max_threads; i++) { + ThreadJob *job =3D calloc(sizeof(ThreadJob), 1); + job->number =3D i; + job->sleep =3D i * 1000; + job->count =3D i * 100; + pthread_create(threads + i, NULL, background_thread_func, job); + } +} + +static void close_threads(void) +{ + int i; + for (i =3D 0; i < max_threads; i++) { + pthread_join(threads[i], NULL); + } + free(threads); + threads =3D NULL; +} + +static void sig_alarm(int sig, siginfo_t *info, void *puc) +{ + if (sig !=3D SIGRTMIN) { + error("unexpected signal"); + } + signal_count++; + __atomic_fetch_add(&total_signal_count, 1, __ATOMIC_SEQ_CST); +} + +static void test_signals(void) +{ + struct sigaction act; + struct itimerspec it; + timer_t tid; + struct sigevent sev; + + /* Set up SIG handler */ + act.sa_sigaction =3D sig_alarm; + sigemptyset(&act.sa_mask); + act.sa_flags =3D SA_SIGINFO; + chk_error(sigaction(SIGRTMIN, &act, NULL)); + + /* Create POSIX timer */ + sev.sigev_notify =3D SIGEV_SIGNAL; + sev.sigev_signo =3D SIGRTMIN; + sev.sigev_value.sival_ptr =3D &tid; + chk_error(timer_create(CLOCK_REALTIME, &sev, &tid)); + + it.it_interval.tv_sec =3D 0; + it.it_interval.tv_nsec =3D 1000000; + it.it_value.tv_sec =3D 0; + it.it_value.tv_nsec =3D 1000000; + chk_error(timer_settime(tid, 0, &it, NULL)); + + spawn_threads(); + + do { + usleep(1000); + } while (total_signal_count < 2000); + + printf("shutting down after: %d signals\n", total_signal_count); + + close_threads(); + + chk_error(timer_delete(tid)); +} + +int main(int argc, char **argv) +{ + test_signals(); + return 0; +} diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Make= file.target index a3a751723d..3f283eabe6 100644 --- a/tests/tcg/multiarch/Makefile.target +++ b/tests/tcg/multiarch/Makefile.target @@ -30,6 +30,8 @@ testthread: LDFLAGS+=3D-lpthread =20 threadcount: LDFLAGS+=3D-lpthread =20 +signals: LDFLAGS+=3D-lrt -lpthread + # We define the runner for test-mmap after the individual # architectures have defined their supported pages sizes. If no # additional page sizes are defined we only run the default test. --=20 2.20.1 From nobody Fri May 3 08:03:25 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622131769; cv=none; d=zohomail.com; s=zohoarc; b=QoOHzB1Hfz8aLBNUleQ+LeRL52fIJLKwBa7/ZIzSdKKhpDWHQIv89q8CLEhB7ovea3lyopqjns32jajay4uZd3XH0iMANzSY5javjLXSSjDBkGmKeMTBZsNantrSck4uoXkLmIEGl8UL9ypVYtzDquAZvkPNhEDeDECyemNtS90= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622131769; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NjUsaCVXvZBOoWNsWBWBwAfBbFCztzsGLeZKy47lhbY=; b=EL6Eb2Fhzw0V/zEt7GsO2y6kYltBu1YyUIpY27GuOIgMQYh/tSLoicnlV3gWVp/7qrlsZE4cW4Ko29hJ78Ya7KTHORUBUA8T+zjmgRtw/ujV1C8xGWPu06fhJSE8PU8EbUaFlms5L7a7HMUFilwmMqc0/Uvx0W1l+Hea8dbJBN8= 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+importer2=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 1622131769442635.8466157135598; Thu, 27 May 2021 09:09:29 -0700 (PDT) Received: from localhost ([::1]:37738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmIZc-0004VW-EF for importer2@patchew.org; Thu, 27 May 2021 12:09:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmITm-0004mu-0a for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:26 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:39731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmITj-0000Kk-DO for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:25 -0400 Received: by mail-wm1-x32f.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso2919312wmh.4 for ; Thu, 27 May 2021 09:03:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b81sm12080117wmd.18.2021.05.27.09.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 09:03:20 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 938221FF8C; Thu, 27 May 2021 17:03:19 +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:in-reply-to:references :mime-version:content-transfer-encoding; bh=NjUsaCVXvZBOoWNsWBWBwAfBbFCztzsGLeZKy47lhbY=; b=LtFo2qy63ju3qGaabFsIBUP6GQtGwZWclwkIOeZd23H/r1JrOIjggwxx00xZ8iRXPa njJ67IeQ7igTZAIz9dCuZ+Cd+OWiPlhV5e6ZlDS0NHcq33SmfXqf+SlP8Roo6UabNSsI WfUUS7rpLPVnqSLiQ4L3e8OHP3iLmr0XLFjcGcVAlz3RtXtRPIuet3wfRQHvZBSQcs2Y qxaU5PMvdXTUHT/YY9PSNzj4pvWwueEIP8vKthh1vHIab/HFplZzpyqH0fsA/iZA4dBh uHXuub9RzZGnUMSt2aS08rAZH58T6r6+a+/Pq7m9e8JLK+6VXQygKWgoFRrzzy0t8CJd bpNg== 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=NjUsaCVXvZBOoWNsWBWBwAfBbFCztzsGLeZKy47lhbY=; b=SaqwdYoZps/zZMor4x1F4nT9QyqxColDHBX9rDHYx5ShczFCsZoxv1oIPDrXk1rA4l 3yF4IvkNxIIL+/Sh6KaeRezWkkx1Z8ZIotuPwt63bY8o8/GM9YS9XixgtvOtPh+QFBfW KYcBT3OKwmbjkakqIMhZuFDfGv1fDbvL+WEoBq6LMAQ5PWPJVMcxGQfdpccJn/imEtRg d3UcEuXKAwbZyJbeyw+fZyS3sSkFHW/PHFVUvXhiBmp2QUvmtsOK1RWMqnoPpI8dOGTC aGIKCZKZXiFLR1XCFyAzmm3pj6l6CBkFBj+qEV0BwQwkQnI1rDQ9M3OT6Gs2e4UWTeft MaYw== X-Gm-Message-State: AOAM532eIme7dmUZmcO/x9HDX0GywdEx1JdRfP2EBfrU0QNt1LbLJ+r9 8a0phezOOiD6ueRG6u4ZLk/4PQ== X-Google-Smtp-Source: ABdhPJzgtRtYhYzNfJ/nZe54rlkBORykApzCwZ0+W0ee6Awkka536FTWuPIMVsezOQAU1hnXiaE5ig== X-Received: by 2002:a1c:e156:: with SMTP id y83mr8727749wmg.89.1622131401913; Thu, 27 May 2021 09:03:21 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/6] meson.build: fix cosmetics of compiler display Date: Thu, 27 May 2021 17:03:15 +0100 Message-Id: <20210527160319.19834-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210527160319.19834-1-alex.bennee@linaro.org> References: <20210527160319.19834-1-alex.bennee@linaro.org> 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.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=ham autolearn_force=no X-Spam_action: no action 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: fam@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) If you specify something like --cc=3D"ccache gcc" on your configure line the summary output misses the rest of the cmd_array. Do some string joining to make it complete. Signed-off-by: Alex Benn=C3=A9e Tested-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 20d7035e44..3f065f53f2 100644 --- a/meson.build +++ b/meson.build @@ -2515,15 +2515,15 @@ summary(summary_info, bool_yn: true, section: 'Conf= igurable features') summary_info =3D {} summary_info +=3D {'host CPU': cpu} summary_info +=3D {'host endianness': build_machine.endian()} -summary_info +=3D {'C compiler': meson.get_compiler('c').cmd_array(= )[0]} -summary_info +=3D {'Host C compiler': meson.get_compiler('c', native: tr= ue).cmd_array()[0]} +summary_info +=3D {'C compiler': ' '.join(meson.get_compiler('c').c= md_array())} +summary_info +=3D {'Host C compiler': ' '.join(meson.get_compiler('c', n= ative: true).cmd_array())} if link_language =3D=3D 'cpp' - summary_info +=3D {'C++ compiler': meson.get_compiler('cpp').cmd_ar= ray()[0]} + summary_info +=3D {'C++ compiler': ' '.join(meson.get_compiler('cpp')= .cmd_array())} else summary_info +=3D {'C++ compiler': false} endif if targetos =3D=3D 'darwin' - summary_info +=3D {'Objective-C compiler': meson.get_compiler('objc').cm= d_array()[0]} + summary_info +=3D {'Objective-C compiler': ' '.join(meson.get_compiler('= objc').cmd_array())} endif if targetos =3D=3D 'windows' if 'WIN_SDK' in config_host --=20 2.20.1 From nobody Fri May 3 08:03:25 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622131790; cv=none; d=zohomail.com; s=zohoarc; b=L9RMoG8ErvpUqxnJe0zGNOjyj56R6nePtIGBjZjoe/jc+C03KHUh4vywQ0iwcNguSXz16nR5ek2noTtKOgzY16EDHyDgIJ+BISJxgI2Qt6pvYQTj3gsLhVPSjhl12aXg/oKgdZma7omJFjKMOYfgjswyPZl/463rqph6TxzXUSA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622131790; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=//WP5NyEkM2KZxOSONWiz5eSL4w73b2EWWIfjaJEJ4I=; b=ODnchembIq/y7uJfQH9hMwSMWzQEeyB5haCE/77owjf3bkukBQ8C0NnHS6FQCcwIzwSkq7nCWYFkXOBoZOgYIsZ/b7mRT50B2eQ3SHV+AY1q0F9rBVV8rkVpuP2eqElm5ilo68FFQwldu4tM5U8YVoP/sVjhNeeDlJGZdPQ49jI= 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+importer2=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 1622131790515691.8946741694111; Thu, 27 May 2021 09:09:50 -0700 (PDT) Received: from localhost ([::1]:39838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmIZx-00060P-GQ for importer2@patchew.org; Thu, 27 May 2021 12:09:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmITq-0004tn-Mo for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:30 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:54004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmITl-0000L0-H5 for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:30 -0400 Received: by mail-wm1-x331.google.com with SMTP id h3so514674wmq.3 for ; Thu, 27 May 2021 09:03:24 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q11sm4137559wrx.80.2021.05.27.09.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 09:03:20 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id ABE351FF8F; Thu, 27 May 2021 17:03:19 +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:in-reply-to:references :mime-version:content-transfer-encoding; bh=//WP5NyEkM2KZxOSONWiz5eSL4w73b2EWWIfjaJEJ4I=; b=rHRZ6etsOQ+AvtW+bBjoS+rC8NH9LKcwBlL1noc1rDWd9+ak9L4XOzB5vB512aG88p sdQIfQ/XpyAZzQ2yvvRxq3B9QymVXeTKI5oziUF+K6bRQtWEr4yPyKsmZweNjyv6tQHZ gjKnKmniI0VI9Af8PEaYDX5i1QV7L2yCJx9fnO8oxZ2QtoK38HK0//DyvaBmiiLj74rL SNFs+GRagkahQX2xZwMYm/G0HxoXHzetvoYU/zidCZOJpyL6PTiY1LwC04Jkq4rPI0A4 Ym976A+E2G/Kw74B4F2r8Vm3aRUE5v53d/QM0F8i3Ac7h8YiEsYzWjZR6miiVm7Ud913 S0ZA== 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=//WP5NyEkM2KZxOSONWiz5eSL4w73b2EWWIfjaJEJ4I=; b=YSLU+l6gviLifpdedSNyH804sYxzd0H4k4P9upB23jZ5PHyIXHqoQwKWu+XAq+fTGI DWQPWrd02qJYmg9RwIrQaKGICbV2hK3m2cr0HPRwoC2y8jdBZBjGPSHpT4G1RUYHMpNd Eyj3OXztMQRe93/xpjXTCmWfyb0/hnzTgmawd4IgrSSfWzoJTTLNKJfLlvgpKWyx0raQ mpwhSR4EbXeSmgvSaOMf0TDuc3Pb6xb7+NHk+ANrWSpSezPZ+HIG06GhhKfduEt2d7Ac cMaNTs7oqECuuUFFwCSGeaYLN1UDyzYqHxRhZ3U5n0YbdUKLjdu1AGt7sQLGdVor1fs2 YYgQ== X-Gm-Message-State: AOAM530B5XUQOSTUS17BOrfQ9og5Y3+7o8yTZa/jcnqr7w6q1HSeHbnT /hq2QSqJqpPTXX3iFuEiE4N5rA== X-Google-Smtp-Source: ABdhPJwUTsvnhq2uWAW8tQV5kPVws7RSQUD/CweTbLWW+34tO0I3+Y4dyOUY8i+rZ7jV8ehGXMDpig== X-Received: by 2002:a1c:dc85:: with SMTP id t127mr2805019wmg.179.1622131403765; Thu, 27 May 2021 09:03:23 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 3/6] tests/tcg/configure.sh: tweak quoting of target_compiler Date: Thu, 27 May 2021 17:03:16 +0100 Message-Id: <20210527160319.19834-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210527160319.19834-1-alex.bennee@linaro.org> References: <20210527160319.19834-1-alex.bennee@linaro.org> 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.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=ham autolearn_force=no X-Spam_action: no action 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: fam@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) If you configure the host compiler with a multi-command stanza like: --cc=3D"ccache gcc" then the configure.sh machinery falls over with confusion. Work around this by ensuring we correctly quote so where we need a complete evaluation we get it. Of course the has() check needs single variable so we need to unquote that. This does mean it essentially checks that just the ccache command exits but if we got past that step we still check the compiler actually does something. Signed-off-by: Alex Benn=C3=A9e Cc: Thomas Huth Reviewed-by: Thomas Huth --- tests/tcg/configure.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index ed6492ce59..aa7c24328a 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -222,10 +222,10 @@ for target in $target_list; do =20 got_cross_cc=3Dno =20 - if eval test "x\${cross_cc_$arch}" !=3D xyes; then - eval "target_compiler=3D\${cross_cc_$arch}" + if eval test "x\"\${cross_cc_$arch}\"" !=3D xyes; then + eval "target_compiler=3D\"\${cross_cc_$arch}\"" =20 - if has "$target_compiler"; then + if has $target_compiler; then if test "$supress_clang" =3D yes && $target_compiler --version | grep -qi "clang"; then got_cross_cc=3Dno --=20 2.20.1 From nobody Fri May 3 08:03:25 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622131857; cv=none; d=zohomail.com; s=zohoarc; b=loYOZmchqBWyU6CvLNLeRSu6MkZkGm/Nn0Hl40NQFIqxdrFGxLxjif/W35AfNTPm2L4Xp1VeCrIYnsQwIqG2s1Ly3AuKTAU7RdN1tWf/o7LEyso4ZLrxIvftm6QvmxQp/JtF56rppghO10dcgB5+JIhWWneoxjGSMxAmGtHUo/I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622131857; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=xRPMPWB0aBHeL/5MePNBlEkOxaiPS0L4CeI6VALZd/s=; b=SF/v0awshpDfu0CZc18ThDlig1uC8Q+kdO+NL+OFAlEJewlvwQJy6yGt9nK+5JJfTNhBVxyiLAyQOW2Pw157QTGh+U175c763HJjAwuix0Hg9Hcxg0QVqNaJz5lgG+Yh1jbYOMmQviX20Wb8mB3v69cHTKYdo0TG3RJMu5dT3A4= 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+importer2=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 1622131857774570.8509967093589; Thu, 27 May 2021 09:10:57 -0700 (PDT) Received: from localhost ([::1]:44476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmIb2-0000lp-OE for importer2@patchew.org; Thu, 27 May 2021 12:10:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmITs-000506-BE for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:32 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:37543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmITq-0000MT-8S for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:32 -0400 Received: by mail-wm1-x331.google.com with SMTP id f20-20020a05600c4e94b0290181f6edda88so2933599wmq.2 for ; Thu, 27 May 2021 09:03:26 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m10sm3672480wrr.2.2021.05.27.09.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 09:03:23 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C63501FF90; Thu, 27 May 2021 17:03:19 +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:in-reply-to:references :mime-version:content-transfer-encoding; bh=xRPMPWB0aBHeL/5MePNBlEkOxaiPS0L4CeI6VALZd/s=; b=NnEFB/X/fcKTDhMHep2ELNzyR4x4ffY269gNCX9Zicaib5ZJ6JcZLTTXPSbFidhL1n dxXiU62dNaXlP0T/6fklz4mfC/jkaZw+38k20fSsxf/J6+T4ifMAkaoUtJK9ke9gbq6I dWkvzVE8cUpn8/RsvXmJ0kgfkJrsAio9YI1GDhFUuuCDGyBlVMErEGdUBTVU0ej9FG0O Rw2zkcNzqyOQKZ63QlU+VktR1gc6KypBCGAx482AXOa3GMByoalO6DiACvg0KiNqJKD5 Mke4ynTaR/98JFlp97VHELcITE17R0RzEzeHzdKr9cp1z/SP5O+rXG6IhiIGBnae7J8A p3dQ== 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=xRPMPWB0aBHeL/5MePNBlEkOxaiPS0L4CeI6VALZd/s=; b=KehHX1OMOzl7pgaz+JYje2bzRFx57LEFLuGzGsOQc4tTkkT/VaHa5ppCGIofRD8auO gKPhq8+k7sTGOzRfo/QFjUooOgAo/51ozOm8tuBPzq/DTU9RPbwgNj6xF1RgkerB8YLi IZOuvWtDZ29lpNowjN2OIuE6aH2vPGolr9S3Xn+l5aVU8+KvEc7Gdn74bWOYeTSmSFRI MXajGPMmLXBbxiVdlzkIpia+mV60mVtLVbzK0JSyN6MrtNU8F8r8mFn5qQRGbCD+08yH elwk/Kls+0N3O4j4KptPKso4tTjGuO1tCZ1Qsl8qWrKSfxS4AF/zEVtic8yywXiffCZX zK8g== X-Gm-Message-State: AOAM5336zV6NXTpK1sZQBe1xcQbyBe0557PV/OCzVkYcpqK+AKIid7Ae OIJVn545+bC9ajzlCoRyS7m9lQ== X-Google-Smtp-Source: ABdhPJyKGInEwtUAO06O6Z/KnoedXtC5cnJE5zj1mOjpyx7nI9B42arGn0r3dN3RDZU7z5W89nSN6w== X-Received: by 2002:a1c:2456:: with SMTP id k83mr4287216wmk.87.1622131405503; Thu, 27 May 2021 09:03:25 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 4/6] gitlab-ci: Convert check-dco/check-patch jobs to the 'rules' syntax Date: Thu, 27 May 2021 17:03:17 +0100 Message-Id: <20210527160319.19834-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210527160319.19834-1-alex.bennee@linaro.org> References: <20210527160319.19834-1-alex.bennee@linaro.org> 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.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=ham autolearn_force=no X-Spam_action: no action 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: fam@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, Wainer dos Santos Moschetta , Willian Rampazzo , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 Per GitLab documentation [*]: "rules replaces only/except and they can=E2=80=99t be used together in the same job." Since the 'rules' syntax is more powerful and we are already using it, convert the check-dco/check-patch jobs so no job use the 'only/ except' syntax. [*] https://docs.gitlab.com/ee/ci/yaml/#rules Inspired-by: Daniel P. Berrang=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Willian Rampazzo Message-Id: <20210525132418.4133235-3-f4bug@amsat.org> --- .gitlab-ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c46392b2f..797403477f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -785,12 +785,13 @@ check-patch: needs: job: amd64-centos8-container script: .gitlab-ci.d/check-patch.py - except: - variables: - - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' variables: GIT_DEPTH: 1000 - allow_failure: true + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANC= H =3D=3D "master"' + when: never + - when: on_success + allow_failure: true =20 check-dco: stage: build @@ -798,11 +799,12 @@ check-dco: needs: job: amd64-centos8-container script: .gitlab-ci.d/check-dco.py - except: - variables: - - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' variables: GIT_DEPTH: 1000 + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANC= H =3D=3D "master"' + when: never + - when: on_success =20 build-libvhost-user: stage: build --=20 2.20.1 From nobody Fri May 3 08:03:25 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622131874; cv=none; d=zohomail.com; s=zohoarc; b=bXRVwGsCJNTjk0ZS6b6qCibl9oWxcCoNhKXlfMz1GfypU9R2WMRVS5UHeT6uUTpOvuZOJ92mXOYTmjcbT30HpNNlGlDmSAcfSyJsRbNyBRt8OELiPlZSYp1gohQyDjXQwJzd80XMZTQStu2UHigubrRKhZJefp0iKOG/er2Q2G0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622131874; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2tgNjmn++qDEbKJ67Irv9XGiW/c7HNn9pcJT1QLxGpE=; b=MqcZ0pfwbV8uO6AOapCwoU20nT07c4L6+yLtWWJXM7+r/ZRUiVv/x/nIEegDzwFIYly7nFqY7Nm9I/4MJOgRKmG6TNWCZHJYtB7ncDuQl0qDnobDKByACR26Z/pbtbUEiJaAnQB72p2/1GH99xMX94Tc2kEufY3uaw42yW6DQfg= 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+importer2=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 1622131874116903.0376211337765; Thu, 27 May 2021 09:11:14 -0700 (PDT) Received: from localhost ([::1]:45298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmIbI-0001Kd-Tv for importer2@patchew.org; Thu, 27 May 2021 12:11:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmITt-00055i-Ms for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:33 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:54001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmITq-0000Mt-DA for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:33 -0400 Received: by mail-wm1-x32d.google.com with SMTP id h3so514836wmq.3 for ; Thu, 27 May 2021 09:03:28 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z12sm4580722wmc.5.2021.05.27.09.03.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 09:03:24 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DD8201FF91; Thu, 27 May 2021 17:03:19 +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:in-reply-to:references :mime-version:content-transfer-encoding; bh=2tgNjmn++qDEbKJ67Irv9XGiW/c7HNn9pcJT1QLxGpE=; b=NL5HmnMuQOgYlLu6urp7nrXIZ6d7d63AILxAmlsmA0m8aZHRbaw4ZJzEoPA5zfOCLz uWwZ6GG5+6Aan7LCXf/etC0greEHayOMkKgFIzcbqqstMpWuYF54jRbUYQmU5ECCsF2L DmtQ9bIQ1axgbyJuiXkS+nMrCjszVkgqlm+fe0Y/VMfDleTX+CPzHri1D21v2/OEPb9F GnpmBBQr+mB9w7G+j0ardx3eal8j6WOrlaTY1V3Dshg1/bNIIvrxQpYqJpJGPrP7Wc1f Gmv3pE2ms51qbUT75ZVDdCy3FX63JgFxQrPeQ+5lNaxbbJWrB9nEP2zrT+n+sWB+sCyQ beYQ== 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=2tgNjmn++qDEbKJ67Irv9XGiW/c7HNn9pcJT1QLxGpE=; b=gUEMUsGnl9lXE/U0Qk+m8/euKbNQSOcwJ0G2H4jnlRBtQc3qaPUAv8jEpCkMW3LMpy TYg4EC4/nBEWUPKAnavdSk1aRSFJrtzsZCAXs5MA0PGzts5V3771Mu0J/2D2HJNlu+iq fLtzxtrtvM/iqjS7Zat/SQFYTFlquzHpt8ChKtwMW7GbEjYeF0P2qv7W06dmtm1BjzWg rkczXHSzlw4otqysZ4ekqNLiIBBI+tgnN+fc3bDC/EyBuTuMIGYTvOrptq1iP9rwpjdV ohdWaeYWYn0MKKP3mhH7iz7jcJqajvqK4gkG4QlDNQVnKYe0h6Z1+14FY6aAOTwkf4Md AY9A== X-Gm-Message-State: AOAM532tr28+7p6ODEo9nl9qGC0wXRUd8OFxj1ZH3Sa09uGfBFxU7LfZ 7jL4KUGGBHj/zuzsT6JhD1kdow== X-Google-Smtp-Source: ABdhPJzJNEL5sgbbh0OWaHQoyCIx9H6I0O6Vi3t17xRREigYIgmlchml5UDlHPIgEjex6KMDXDYg5g== X-Received: by 2002:a1c:7f84:: with SMTP id a126mr9467093wmd.47.1622131407999; Thu, 27 May 2021 09:03:27 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 5/6] tests/acceptance: tweak the tcg/kvm tests for virt Date: Thu, 27 May 2021 17:03:18 +0100 Message-Id: <20210527160319.19834-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210527160319.19834-1-alex.bennee@linaro.org> References: <20210527160319.19834-1-alex.bennee@linaro.org> 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.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=ham autolearn_force=no X-Spam_action: no action 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: fam@euphon.net, berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , f4bug@amsat.org, Wainer dos Santos Moschetta , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Really it's only TCG that can select which GIC model you want, KVM guests should always be using the "host" version of the GIC for which QEMU already provides a handy shortcut. Make the KVM test use this and split the TCG test into it's two versions. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Reviewed-by: Willian Rampazzo Tested-by: Willian Rampazzo --- tests/acceptance/boot_linux.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/acceptance/boot_linux.py b/tests/acceptance/boot_linux.py index 0d178038a0..7221452d4b 100644 --- a/tests/acceptance/boot_linux.py +++ b/tests/acceptance/boot_linux.py @@ -75,10 +75,11 @@ def add_common_args(self): self.vm.add_args('-device', 'virtio-rng-pci,rng=3Drng0') self.vm.add_args('-object', 'rng-random,id=3Drng0,filename=3D/dev/= urandom') =20 - def test_virt_tcg(self): + def test_virt_tcg_gicv2(self): """ :avocado: tags=3Daccel:tcg :avocado: tags=3Dcpu:max + :avocado: tags=3Ddevice:gicv2 """ self.require_accelerator("tcg") self.vm.add_args("-accel", "tcg") @@ -87,29 +88,28 @@ def test_virt_tcg(self): self.add_common_args() self.launch_and_wait() =20 - def test_virt_kvm_gicv2(self): + def test_virt_tcg_gicv3(self): """ - :avocado: tags=3Daccel:kvm - :avocado: tags=3Dcpu:host - :avocado: tags=3Ddevice:gicv2 + :avocado: tags=3Daccel:tcg + :avocado: tags=3Dcpu:max + :avocado: tags=3Ddevice:gicv3 """ - self.require_accelerator("kvm") - self.vm.add_args("-accel", "kvm") - self.vm.add_args("-cpu", "host") - self.vm.add_args("-machine", "virt,gic-version=3D2") + self.require_accelerator("tcg") + self.vm.add_args("-accel", "tcg") + self.vm.add_args("-cpu", "max") + self.vm.add_args("-machine", "virt,gic-version=3D3") self.add_common_args() self.launch_and_wait() =20 - def test_virt_kvm_gicv3(self): + def test_virt_kvm(self): """ :avocado: tags=3Daccel:kvm :avocado: tags=3Dcpu:host - :avocado: tags=3Ddevice:gicv3 """ self.require_accelerator("kvm") self.vm.add_args("-accel", "kvm") self.vm.add_args("-cpu", "host") - self.vm.add_args("-machine", "virt,gic-version=3D3") + self.vm.add_args("-machine", "virt,gic-version=3Dhost") self.add_common_args() self.launch_and_wait() =20 --=20 2.20.1 From nobody Fri May 3 08:03:25 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622131906; cv=none; d=zohomail.com; s=zohoarc; b=kP/rd7N+yZadvPoOeh6HoXgXdz1Nnm5II7AWdtJKs4wjRbQa9ptWMaV5e0zDT4swTdvHGgeMt6s+7wDZb4WUpTRgWVjAcdX7oYLhckuSBea0hXDeQ/SpQO4UARvNDbJ/z4cioOCctU7sW+aVA6y7+GLz6DQ4aGhv/nVisrB20iY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622131906; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SCJwcBVAgyCms60jVhmkcV2f/TFnHD0gKghZiwudA4s=; b=S7qc9jq+YZxnept+EHUWlxZF5+KigM6uwON+OLUYwugSc3zsSUeybp+Rbm3j4sFEs+fABes/zJu8Syr5wa0TSQyUWrd+McgSuYfHyQ9gZSDKUEvGJ8kglCjKzj8P6TwSZHZEV8s3kepquuFA/ZnKpFlAi2KpEYhVcoE98jcnfcU= 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+importer2=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 1622131906205330.65645051254353; Thu, 27 May 2021 09:11:46 -0700 (PDT) Received: from localhost ([::1]:46818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmIbp-0002Oo-3y for importer2@patchew.org; Thu, 27 May 2021 12:11:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmITu-00057s-8L for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:34 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:34592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmITs-0000NH-0V for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:33 -0400 Received: by mail-wr1-x42d.google.com with SMTP id f11so448298wrq.1 for ; Thu, 27 May 2021 09:03:31 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x11sm3656206wrl.13.2021.05.27.09.03.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 09:03:24 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 00D251FF92; Thu, 27 May 2021 17:03:20 +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:in-reply-to:references :mime-version:content-transfer-encoding; bh=SCJwcBVAgyCms60jVhmkcV2f/TFnHD0gKghZiwudA4s=; b=LQ53Qks6ia2EP2MB0FRx8BYaErQ4jxNvV8/8tN2CafEc+mmLgDijA6P38CAjCJRP/K AUUMLklGplq+bh4Vb7QwYs1uRB054B/1ILYvzIO8GqY5diSHavWgozXXTrhc31fkWV6t RIn1nhQdexzzRbUGiYgkYHkn8TMBfUBCegatTERLrypVch5I7SWHU66jo5vMmPqiws/B xgg0SXlezfdkf7cgzQ5gBd+UnJIwmuBgP/hk9Y9v+llsJKldug4p/VZZy+v/WTEyfQkD aTX2yLEbGbF8rxbW3qdv7qPg8BmmeM/isK4ix8NzU4sTyMdFgaA/qHGQIIf1SOIq9Qaj TuAQ== 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=SCJwcBVAgyCms60jVhmkcV2f/TFnHD0gKghZiwudA4s=; b=EHe+BBoJZ2FOdW2T8fcpSWD65UjheBuuxz7NZOAX57nnDB1ilYjSV6QYMUnrk7LLVx 4xGOp3V8zxtuiV0UK9DallWDMNhLADL6MfAhsNoXLl4zy9erdI9GeoJdlFnAGn+/XiD8 ghGf7geiVQv9/6ZQmqSeJUgUJFdypfgsh35RS77enEWDzYKxNsWL3VGNGESJIZtTdOwn AB7rTpXw0JZRZ6m4KAhIItq90QfAP4afoUJJWYhbawssRIrgfybqfD6CytD5zcvkKx4I asRjB3l8vnwb/ox8JR9WAB0KzoDy3fWFrUXsGrzPAfFdtqS1aZwEzyN0H93MYf0nuDoc 90MA== X-Gm-Message-State: AOAM532NInymCk4ap7ttf5WH22AbjHXpN7hz5dt/YDHjgdZIdNP603Em js3vkXyp+ucoLgXAkckEqdGXSw== X-Google-Smtp-Source: ABdhPJxSr5kVXlWSnFQccFnB5N1CZPLFGw6SIqNOh6/raOawSFCiE6VH4+ngvuIk/UqPLYdZwAB57g== X-Received: by 2002:a5d:6da8:: with SMTP id u8mr4150267wrs.391.1622131410522; Thu, 27 May 2021 09:03:30 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 6/6] tests/acceptance: tag various arm tests as TCG only Date: Thu, 27 May 2021 17:03:19 +0100 Message-Id: <20210527160319.19834-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210527160319.19834-1-alex.bennee@linaro.org> References: <20210527160319.19834-1-alex.bennee@linaro.org> 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.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=ham autolearn_force=no X-Spam_action: no action 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: fam@euphon.net, berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , f4bug@amsat.org, Wainer dos Santos Moschetta , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) We should never be trying to run most of these models under a KVM environment. Signed-off-by: Alex Benn=C3=A9e Tested-by: Willian Rampazzo --- tests/acceptance/boot_linux_console.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index 276a53f146..cded547d1d 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -333,6 +333,7 @@ def test_aarch64_virt(self): """ :avocado: tags=3Darch:aarch64 :avocado: tags=3Dmachine:virt + :avocado: tags=3Daccel:tcg """ kernel_url =3D ('https://archives.fedoraproject.org/pub/archive/fe= dora' '/linux/releases/29/Everything/aarch64/os/images/pxe= boot' @@ -343,7 +344,9 @@ def test_aarch64_virt(self): self.vm.set_console() kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE + 'console=3DttyAMA0') + self.require_accelerator("tcg") self.vm.add_args('-cpu', 'cortex-a53', + '-accel', 'tcg', '-kernel', kernel_path, '-append', kernel_command_line) self.vm.launch() @@ -356,6 +359,7 @@ def test_aarch64_xlnx_versal_virt(self): :avocado: tags=3Dmachine:xlnx-versal-virt :avocado: tags=3Ddevice:pl011 :avocado: tags=3Ddevice:arm_gicv3 + :avocado: tags=3Daccel:tcg """ images_url =3D ('http://ports.ubuntu.com/ubuntu-ports/dists/' 'bionic-updates/main/installer-arm64/' @@ -370,6 +374,7 @@ def test_aarch64_xlnx_versal_virt(self): =20 self.vm.set_console() self.vm.add_args('-m', '2G', + '-accel', 'tcg', '-kernel', kernel_path, '-initrd', initrd_path) self.vm.launch() @@ -379,6 +384,7 @@ def test_arm_virt(self): """ :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:virt + :avocado: tags=3Daccel:tcg """ kernel_url =3D ('https://archives.fedoraproject.org/pub/archive/fe= dora' '/linux/releases/29/Everything/armhfp/os/images/pxeb= oot' @@ -401,6 +407,7 @@ def test_arm_emcraft_sf2(self): :avocado: tags=3Dmachine:emcraft-sf2 :avocado: tags=3Dendian:little :avocado: tags=3Du-boot + :avocado: tags=3Daccel:tcg """ uboot_url =3D ('https://raw.githubusercontent.com/' 'Subbaraya-Sundeep/qemu-test-binaries/' @@ -429,6 +436,8 @@ def test_arm_emcraft_sf2(self): =20 def do_test_arm_raspi2(self, uart_id): """ + :avocado: tags=3Daccel:tcg + The kernel can be rebuilt using the kernel source referenced and following the instructions on the on: https://www.raspberrypi.org/documentation/linux/kernel/building.md @@ -464,6 +473,7 @@ def test_arm_raspi2_uart0(self): :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:raspi2 :avocado: tags=3Ddevice:pl011 + :avocado: tags=3Daccel:tcg """ self.do_test_arm_raspi2(0) =20 @@ -471,6 +481,7 @@ def test_arm_exynos4210_initrd(self): """ :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:smdkc210 + :avocado: tags=3Daccel:tcg """ deb_url =3D ('https://snapshot.debian.org/archive/debian/' '20190928T224601Z/pool/main/l/linux/' @@ -511,6 +522,7 @@ def test_arm_cubieboard_initrd(self): """ :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:cubieboard + :avocado: tags=3Daccel:tcg """ deb_url =3D ('https://apt.armbian.com/pool/main/l/' 'linux-5.10.16-sunxi/linux-image-current-sunxi_21.02.2_= armhf.deb') @@ -551,6 +563,7 @@ def test_arm_cubieboard_sata(self): """ :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:cubieboard + :avocado: tags=3Daccel:tcg """ deb_url =3D ('https://apt.armbian.com/pool/main/l/' 'linux-5.10.16-sunxi/linux-image-current-sunxi_21.02.2_= armhf.deb') @@ -595,6 +608,7 @@ def test_arm_quanta_gsj(self): """ :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:quanta-gsj + :avocado: tags=3Daccel:tcg """ # 25 MiB compressed, 32 MiB uncompressed. image_url =3D ( @@ -642,6 +656,7 @@ def test_arm_quanta_gsj_initrd(self): """ :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:quanta-gsj + :avocado: tags=3Daccel:tcg """ initrd_url =3D ( 'https://github.com/hskinnemoen/openbmc/releases/download/' @@ -678,6 +693,7 @@ def test_arm_orangepi(self): """ :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:orangepi-pc + :avocado: tags=3Daccel:tcg """ deb_url =3D ('https://apt.armbian.com/pool/main/l/' 'linux-5.10.16-sunxi/linux-image-current-sunxi_21.02.2_= armhf.deb') @@ -702,6 +718,7 @@ def test_arm_orangepi(self): def test_arm_orangepi_initrd(self): """ :avocado: tags=3Darch:arm + :avocado: tags=3Daccel:tcg :avocado: tags=3Dmachine:orangepi-pc """ deb_url =3D ('https://apt.armbian.com/pool/main/l/' @@ -744,6 +761,7 @@ def test_arm_orangepi_initrd(self): def test_arm_orangepi_sd(self): """ :avocado: tags=3Darch:arm + :avocado: tags=3Daccel:tcg :avocado: tags=3Dmachine:orangepi-pc :avocado: tags=3Ddevice:sd """ --=20 2.20.1