From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 165B7C433E0 for ; Fri, 12 Mar 2021 14:44:11 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FC8C64FD6 for ; Fri, 12 Mar 2021 14:44:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FC8C64FD6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:39528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKj1N-00023D-Je for qemu-devel@archiver.kernel.org; Fri, 12 Mar 2021 09:44:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKicl-00064n-1G for qemu-devel@nongnu.org; Fri, 12 Mar 2021 09:18:43 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:38748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKice-0000Sj-O4 for qemu-devel@nongnu.org; Fri, 12 Mar 2021 09:18:41 -0500 Received: by mail-ed1-x52d.google.com with SMTP id h13so8163661eds.5 for ; Fri, 12 Mar 2021 06:18:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=rKJB4AlkfGyI7OxCAlY3Z8/EtdlEO2pG+pgv4m/JM0o=; b=eXqha6wvbupBe/niPMhAZIljBsIGKDxpCsf31IoGwlFHO8g3LcNSsDgCLktyywxfvF flG9xQ+5UwtT031SjS3tzi/ZhT6RWXNblsOwIJXcFye0TKT8C/VHIyJHOBmlkvorIjTg 8+R1nqe9P3uvL5MisVwtma6qhl71/QL6LdpMq5jpb0dLQcE+Yh2qxfpDKjfjW+DBaTIr Y56jIAZNDelxMWy0B+clozy100qOVHT747A0kBzTZvrBp+syBjA0zh1Sjcju3PsBOwOv 56sVCnRSkuXxQnlkgt37OolNrTu1kpGDsrYXw1NI4vLGV6syfZh+STUgk8H2zfUgVAgG bxSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=rKJB4AlkfGyI7OxCAlY3Z8/EtdlEO2pG+pgv4m/JM0o=; b=lUesT3Yd0cquPwRtQnL5wNTWE1aytIpsN3xAi+a5RKv5MvpV3ShEbjhIc4w64pmsTw 4iKuY/HPBdfBb90R5+xbGtPxq7Mpm4Xf0SpaFSfR59rEUwJin5RrMwEXQnEwK6QNTKOw 5OlXChHoORBBr9+qoIHv1XQeqm/qncrEMKjU12I7x8mkXthkKXK8HpwPgwuemKqwXvUY iypRzHbMRZIfsEiO6PJ8c8jFI0bDrybnraBtXkYzqSDC85PiuXDVp8oHFS9xoN1G/7zt Epxni+CmC9xFaTFcsjOb4VhQ/u+XNPPOfQOYAoHbosNGQZzlEWRZzdroJsOn7cnnwYyZ egyg== X-Gm-Message-State: AOAM533zIy2BzSVzwHHjxE4crnpILwxwbJw7ZDt0exEs/+fWPRA5V5Ux Q+WmR/Ln94sJxGA/yXxnRrXN/w== X-Google-Smtp-Source: ABdhPJxq9a0StzpDKgNgFaKzUZVm1dMLrHrQnDbjxGEs3fxvYtZ8wlqjGtkPUrXBIT/FFCmdc5b3rw== X-Received: by 2002:a05:6402:646:: with SMTP id u6mr14760263edx.250.1615558715275; Fri, 12 Mar 2021 06:18:35 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id lu5sm2837358ejb.97.2021.03.12.06.18.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 06:18:34 -0800 (PST) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 53CB31FF7E; Fri, 12 Mar 2021 14:18:33 +0000 (GMT) References: <20210312102029.17017-1-alex.bennee@linaro.org> <20210312102029.17017-6-alex.bennee@linaro.org> <87a6r8ehsi.fsf@linaro.org> User-agent: mu4e 1.5.10; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Peter Maydell Subject: Re: [PATCH v5 5/5] tests/tcg: add HeapInfo checking to semihosting test Date: Fri, 12 Mar 2021 14:08:38 +0000 In-reply-to: Message-ID: <877dmce9qe.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52d.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Keith Packard , qemu-arm , "open list:RISC-V" , QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Peter Maydell writes: > On Fri, 12 Mar 2021 at 11:24, Alex Benn=3DC3=3DA9e wro=3D > te: >> >> >> Peter Maydell writes: >> >> > On Fri, 12 Mar 2021 at 10:31, Alex Benn=3D3DC3=3D3DA9e org> wro=3D3D >> > te: >> >> >> >> Query the SYS_HEAPINFO semicall and do some basic verification of the >> >> information via libc calls. >> > >> > Are we both testing system emulation and linux-user, or just one of th= e=3D > two=3D3D >> > ? >> >> Currently just linux-user. There is no inherent reason we couldn't add a >> system emulation test but I felt that was already reasonably exercised >> by your semihosting tests. > > Do we run those automatically anywhere ? I agree that probably the > best thing is to get those into the CI loop somehow (and then put > a SYS_HEAPINFO test there.) Not currently. I have toyed with series that make integrate the building of external test suites into the source tree. There are a number that it would be useful to have a short "make" away including: kvm-unit-tests LTP diy7 (memory model testing) sbsa-ref tools and I guess the semihosting testd would be another good example. --=20 Alex Benn=C3=A9e