From patchwork Mon Sep 27 16:31:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533462 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=lKaM+KUB; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ7Tn0vt7z9tk4 for ; Tue, 28 Sep 2021 02:32:45 +1000 (AEST) Received: from localhost ([::1]:45068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUtYY-0002FT-RO for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 12:32:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUtXJ-0002Dg-Ta; Mon, 27 Sep 2021 12:31:25 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:45711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUtXG-0002MJ-31; Mon, 27 Sep 2021 12:31:24 -0400 Received: by mail-wr1-x42c.google.com with SMTP id d21so52865596wra.12; Mon, 27 Sep 2021 09:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kZ3NPq8xSonogV+AXQCkWFGHjkGa33MIFajlqwGAQQA=; b=lKaM+KUBVh0vOEoo40ZKt2TRZojBQXgCD2ZbdaLBqZpNqKY2wa6EiliZ71AjSCnbQ5 rBbG0pzmrvM3R0kEiOPPCQOQBQ2FdwpXyR/y2wd06s3TzKQaMYu9n+KBwlrY8+mMJYku uLADpbtkYOFdlgot0XYvH3e1xXt40rnkxKb1ITZNX8G19fnVJE7jVy0t04IMdXn+nOR+ QV1MRwb0XiteqHE/SSiN+k9P2ktAoXbD/GgkKF6/dswSHQYL2S9BCifzWHrYvXhry+u9 7x8Q8L0rYmQPiZgPJUm17VcDWnIpwGjqt+h90B19QujUuyLZk5sVGSaie9aHB8zd2TOC OLzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=kZ3NPq8xSonogV+AXQCkWFGHjkGa33MIFajlqwGAQQA=; b=OMTcmRUWx0+DZceZMugB54/fZcWO1lPdOuWoFtlEva4jlal0uUxV/ZXcEcXhiea+JZ BBanFS/11XM6nWHp7zTZ/VOoV6nrGb3zXT6vlDXHh+y1QXULVkpqfUiyY0IHmFs64Lv7 2xmNDZbNjfbRJHhFyxOtdfGZoIDk2xt/7C+kGS0K5UXwmddEITSDaUMAih5tRpikFmHj mv4pv4VVjOhW3+LDjkP6oWNVj7DCZ/xOAkLN0EjWRZ8KuQfMBBoEXE4dn1n6i6WLyMaA tDF3qKiJ8WFtaY02xV7ibUuUCbv3r5NbnhSBK9vkFXbZzlTAwizfJGXMzPC6dhugnG1B buJQ== X-Gm-Message-State: AOAM531rD+QKo7Prq9ot5/zGLOxqDIq6SMyCzZW69cqAONogSwNajq4i oPPLrXH59zHO7MpiMSGce6Oda57Ox3Y= X-Google-Smtp-Source: ABdhPJywN/nhBJCF1yeUZaUCjwkhN3av7QC1HrQ6VQBKPz2Q4hwipqUDjFRYApsDrt1E0eaMZ+YLxA== X-Received: by 2002:adf:d4cb:: with SMTP id w11mr885288wrk.125.1632760278730; Mon, 27 Sep 2021 09:31:18 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id w5sm9484696wrq.86.2021.09.27.09.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 09:31:18 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 0/6] tests/acceptance: Add bFLT loader linux-user test Date: Mon, 27 Sep 2021 18:31:10 +0200 Message-Id: <20210927163116.1998349-1-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: Laurent Vivier , Wainer dos Santos Moschetta , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Willian Rampazzo , qemu-arm@nongnu.org, Warner Losh Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Since v3: - rebased - addressed Wainer review comments from v2 - rename avocado_qemu.Test -> QemuSystemTest Since v2: - rebased tests/acceptance/avocado_qemu/__init__.py patches - extract has_cmd() from virtiofs_submounts.py - check cpio availability with has_cmd() Philippe Mathieu-Daudé (6): tests/acceptance: Extract QemuBaseTest from Test tests/acceptance: Make pick_default_qemu_bin() more generic tests/acceptance: Introduce QemuUserTest base class tests/acceptance: Share useful helpers from virtiofs_submounts test tests/acceptance: Add bFLT loader linux-user test tests/acceptance: Rename avocado_qemu.Test -> QemuSystemTest tests/acceptance/avocado_qemu/__init__.py | 158 ++++++++++++++----- tests/acceptance/boot_linux_console.py | 4 +- tests/acceptance/cpu_queries.py | 4 +- tests/acceptance/empty_cpu_model.py | 4 +- tests/acceptance/info_usernet.py | 4 +- tests/acceptance/linux_initrd.py | 4 +- tests/acceptance/linux_ssh_mips_malta.py | 5 +- tests/acceptance/load_bflt.py | 54 +++++++ tests/acceptance/machine_arm_canona1100.py | 4 +- tests/acceptance/machine_arm_integratorcp.py | 4 +- tests/acceptance/machine_arm_n8x0.py | 4 +- tests/acceptance/machine_avr6.py | 4 +- tests/acceptance/machine_m68k_nextcube.py | 4 +- tests/acceptance/machine_microblaze.py | 4 +- tests/acceptance/machine_mips_fuloong2e.py | 4 +- tests/acceptance/machine_mips_loongson3v.py | 4 +- tests/acceptance/machine_mips_malta.py | 4 +- tests/acceptance/machine_ppc.py | 4 +- tests/acceptance/machine_rx_gdbsim.py | 4 +- tests/acceptance/machine_s390_ccw_virtio.py | 4 +- tests/acceptance/machine_sparc_leon3.py | 4 +- tests/acceptance/migration.py | 4 +- tests/acceptance/multiprocess.py | 4 +- tests/acceptance/pc_cpu_hotplug_props.py | 4 +- tests/acceptance/ppc_prep_40p.py | 4 +- tests/acceptance/version.py | 4 +- tests/acceptance/virtio-gpu.py | 4 +- tests/acceptance/virtio_check_params.py | 4 +- tests/acceptance/virtio_version.py | 4 +- tests/acceptance/virtiofs_submounts.py | 59 +------ tests/acceptance/vnc.py | 4 +- tests/acceptance/x86_cpu_model_versions.py | 4 +- 32 files changed, 235 insertions(+), 153 deletions(-) create mode 100644 tests/acceptance/load_bflt.py