From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796172010; b=WjeDynRGqC10H2dnMVnga+JLWhCKMlV5SNVcackVaDxhOdF9weeMl1AvVjQAinvzqfyO Lu+AShzRl9pIOtH2ML7OxJQ/z1GoMst1VF9loxl1oLjL2+64IZ6K8f4D6ATuSgs9F388w rIdg9IfFToXsWlUFCo2CGUa1UzL+zwRvPsTEZkhyPEv5qHnlF1hBcXbvXx7GuaM4zugjz SrD+DLSpsQuORl9UjwPatfITCUvXHPFhIr0zOV2fh5SmJeLWbph+A0L48cAowh48ZPS5p fELZtuW/u4Q6Jo3YfJfndYykn+TOy/UKHvffhPdYk9RZWtfOZNcPCSW/ZNeOXF807hw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796172010; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=I7Ll2sM0uFEixR8B/jbdGEoKLsEc39/xwwBXET/rBtQ=; b=rk5DXMTiZ/I/X2QR7t6TQO2pzRDOfSQwMuFp23oO5bAwal3MGnFleZQ1q6xaJhf+Qyrr XKI/G38+5DEODFEI/gAmH6numWaIYmnBzQQo7/NoKGvRgzVR/zO3s6Sj3TD4wrP+U+SL+ Xw0FSihm8dsJItV8TAlmTvVBwCfEsT0lx3HzCJC1uC8JEu2EWV/LoN9jxLnuNibi+oH7o YZbxch1FQw2L5grW7B0Vk7tF+zdHih7LP+Lz7fyl5uzOSQGt32HLFjhvAlSR8rrrx2MJq osqJSDymDcE+NmSf91+TV+GwnMPA4y11gOHV9hsCD6mMfxwUcfmip8Vs/knvKrgyPaw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=okKndrvP; arc=none smtp.remote-ip=209.85.210.71 Received: from mail-ot1-f71.google.com (mail-ot1-f71.google.com [209.85.210.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 121CD60A380A for ; Wed, 2 Dec 2026 00:40:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 121CD60A380A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=okKndrvP Received: by mail-ot1-f71.google.com with SMTP id 46e09a7af769-8520e83f715so12312461a34.2 for ; Tue, 01 Dec 2026 16:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796172009; x=1796776809; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=I7Ll2sM0uFEixR8B/jbdGEoKLsEc39/xwwBXET/rBtQ=; b=okKndrvPZ4Feya0N1Fh5bhsDwuAcWHHQm9t4jQgSiPCEgLWUue2h6L2FSgc0iyHAo9 kwHtbsNWmEAKujssoWGrAtetsS2h5gIL1W9g6RM+mFEV4/6P5lBEgpxn/i3pGkAhIASc aeVM7ecU6BhttfRl2Fm+unU+Bb80emclG8jjFxV98O0We4eGKttZefM9CBKo1FjRlCck yU/qJF5u+eB5HIQYI5KRQhTSZcQqpL7a3e9NRb11/3CXgtDSFU+BZLrpNRHclYFoML3H elEpLGBQo4gO+3j0YY6q2M+ezoeCEuGil5iF5oiP3LN/EvdW1zex06DrFEmDTyihm3R8 5v3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796172009; x=1796776809; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=I7Ll2sM0uFEixR8B/jbdGEoKLsEc39/xwwBXET/rBtQ=; b=TClj3KEkOUTO8LiqfKrAEAU45qMbJgjr69OSQOxdESCIIiQZhCLru7AjF52/TVosuJ a49FEqMMLKMFzKGvbmGK22QWubEcA1rW7aN71/vk6rkgNNRLISJ+pHE3ex4E9IBnTrw5 ykAotGGcnW6O1uRczz/LGmr1IKKfv4YnVc7/JkXKzHv7SwCzjPJ8Cv+yhNTphsX4aLR/ bvPmN1vfYROjfr7qCliprZrOrAJP3dqhGVFSYIhbSN0GM3fpMCYKNFbztwFgWiCQEULT 51+JlG3P0mLDKmSb6hifqvgtbSMK5lm6djnDBd7JgeMkQOtJrQu9IKFGv9/3Uk6oatPF mqwA== X-Forwarded-Encrypted: i=1; AL+hErHKNo+u1M/Mtu4d+C6IqrGTK5H15Rt4ptznoAOWIG+0BkMu6YXkU/aCX6MqTpSMtWMNfgaA7dV120IQHdY=@vger.kernel.org X-Gm-Message-State: APuU4Z+dj9xGjqeDj9ztLk0mr+D53c1RmxTMueZe8o7dewc/e9PUiEz2 d6CJ+/I4ydb6AV0ozRD30IoreaHkfH8gDKPJdepKYk6LeXHuTtd1StbrQ8N5rUF5iYosWyLkrQw PTIeCKgC9010Yiw== X-Received: from jahd12.prod.google.com ([2002:a05:6638:86cc:b0:61b:3a7f:4e5e]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6808:4fe3:b0:4b9:e6ab:d07a with SMTP id 5614622812f47-57a0a503358mr41224205b6e.26.1796172008690; Tue, 01 Dec 2026 16:40:08 -0800 (PST) Date: Wed, 2 Dec 2026 00:39:46 +0000 In-Reply-To: <20261202003955.3607156-1-dmatlack@google.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261202003955.3607156-1-dmatlack@google.com> X-Mailer: git-send-email 2.56.1.911.g883d8bcb20-goog Message-ID: <20261202003955.3607156-10-dmatlack@google.com> Subject: [PATCH 09/18] selftests/liveupdate: Run tests in subdirectories from run-vmtests.sh From: David Matlack To: kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Albert Ou , Alexandre Ghiti , Alex Williamson , Bjorn Helgaas , David Matlack , Jacob Pan , Jason Gunthorpe , Josh Hilke , Lukas Wunner , Mike Rapoport , Palmer Dabbelt , Parav Pandit , Pasha Tatashin , Paul Walmsley , Pranjal Shrivastava , Pratyush Yadav , Samiullah Khawaja , Shuah Khan , Vipin Sharma Content-Type: text/plain; charset="UTF-8" Make run-vmtests.sh also run every test defined by a /.vmtest.sh file, so that tests in subdirectories can be added without changing the list of tests in run-vmtests.sh. Replace slashes in test names with underscores when naming log files, since such test names include the subdirectory. Signed-off-by: David Matlack --- tools/testing/selftests/liveupdate/run-vmtests.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/liveupdate/run-vmtests.sh b/tools/testing/selftests/liveupdate/run-vmtests.sh index c3d828cfd63b..2460ac955511 100755 --- a/tools/testing/selftests/liveupdate/run-vmtests.sh +++ b/tools/testing/selftests/liveupdate/run-vmtests.sh @@ -22,6 +22,13 @@ TEST_NAMES=( "luo_stress_sessions" ) +# Tests in subdirectories are described by /.vmtest.sh +for test_def in "$SCRIPT_DIR"/*/*.vmtest.sh; do + [ -f "$test_def" ] || continue + test_def=${test_def#"$SCRIPT_DIR/"} + TEST_NAMES+=("${test_def%.vmtest.sh}") +done + function usage() { cat < %-8s %-24s ... " "$arch" "$test_name" -- 2.56.1.911.g883d8bcb20-goog From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FA68606A686 for ; Wed, 2 Dec 2026 00:40:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=NFePVXDh; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=FTyZlI1y DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Unsubscribe-Post:List-Owner; bh=LyP/ziryvNwfwz0BuhbZlF5HhvknXDIVkvM7Kbb9r94=; b=NFePVXDhJ7DKDgN4tifMW0unH6 PqecbePpEVKZBAJ0wFmv/YmAvNp8MiaPg35JnKX2s4N1lJOBRsFygtX1SEd2SXGHQOQ3A3yTuqwMT 4fLgrkxti7Q/KdScg8v9PBVF33tZ3bcImnq19kdmq0py2DndUyd8jPC7ZACjkLR0w+kc6TwieHf/K 4mXO83g6jBcgbGg+LLwsVYi/qZI3h91yZocELVCi9A8y/IEs4NZJNAELt3CgB7K6S6AaRV/UXs386 yuJ9S8+NMbPoXaRoZWod32/SD8P7TlTuPJUN4efw2q5ZgYLWkMTcvnAfwGd6Gw0iwWGKTPmCVvLap 84sOJbHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYYOU-00000009mMN-0UzF; Wed, 02 Dec 2026 00:40:22 +0000 Received: from mail-ot1-x347.google.com ([2607:f8b0:4864:20::347]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYYOK-00000009m02-3kWw for linux-riscv@lists.infradead.org; Wed, 02 Dec 2026 00:40:15 +0000 Received: by mail-ot1-x347.google.com with SMTP id 46e09a7af769-86320da67fdso14106578a34.1 for ; Tue, 01 Dec 2026 16:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796172009; x=1796776809; darn=lists.infradead.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=I7Ll2sM0uFEixR8B/jbdGEoKLsEc39/xwwBXET/rBtQ=; b=FTyZlI1yjgNQRqq+8HbeEvrvAKoQShyzY8RsNOMrXRplu0n5IP0jbflE+W/jSEz9Ti +FUJJKxXMUpM3UdH0vLyJTeUS9Ox219hUPexC0LalslKg39/W/w/+Ph/D8Oq+TZMm5ko 9lpOo/BkB1SmiYI8x21x8eXf2xnTgnksmEBCEK3xNZKjHYISTQ0zJKFf+wEbfXhGQJci eQAwrfXRi3NHfRHVgwrA1OFfCdPVMdXN9tGx0KjWhizexHxzCxI7BZnV+37BDCTaFZrX AfVBZEmTFaMt89AxUWThfUGbLQzeQT4z6G4Qjk8d5h7xH4CDUIFJ5tLEXYCF0tdwpVU1 0oMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796172009; x=1796776809; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=I7Ll2sM0uFEixR8B/jbdGEoKLsEc39/xwwBXET/rBtQ=; b=SgEieC/27T97FTEiV2L3ynBB9E/kWwagEvf02ZD4Rl6d/t/zodxyAFSvYLIJc5l0Cz K9DQYeFR6ee/t70Ndq6guRoL0sYTrfxTplS+We24fGc8LqWjHqcCxaWR2XgtImkv3JYC FjX1aPxSuYIX/X1U5Y2blrLJ+XY/I+iMZ2YVDisDQRv73G3kNa3pq0Ceyq7EolhvMbr7 NogyrQUD9PW30ybXp/qNJGo0FQTIvuuaI2e1qD4vymmtO1VHj2FHM0p9B5dFKlU3HJ02 y8DjuZrQt1y2gWQbJj9b7nSdYFSqg1yNABfUbdSXh3x8A/Zf0tfMFk1fjMqZTeD3kLqu Yffg== X-Forwarded-Encrypted: i=1; AL+hErGwbbQUhIrdRu52ZMttbap8yeor6C6kLiKyX8k6InD+vwLQHI4lJWjvda0CBeO57Rp6I7Aoo9LGyLIYNA==@lists.infradead.org X-Gm-Message-State: APuU4Z/yaRg5kJ17YwrugdmRP+zcB63OyqgT2Ak+8rxwzqm/n1QUWNX4 327z8SXR813uHrFB6v0phy2aOPt+awWAZPu/97qdErtU/meWNAPpo8n6cEPBD/7olqnIgfmuD01 6ruMgVVJN99/E+A== X-Received: from jahd12.prod.google.com ([2002:a05:6638:86cc:b0:61b:3a7f:4e5e]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6808:4fe3:b0:4b9:e6ab:d07a with SMTP id 5614622812f47-57a0a503358mr41224205b6e.26.1796172008690; Tue, 01 Dec 2026 16:40:08 -0800 (PST) Date: Wed, 2 Dec 2026 00:39:46 +0000 In-Reply-To: <20261202003955.3607156-1-dmatlack@google.com> X-Archived-By: Mime-Version: 1.0 References: <20261202003955.3607156-1-dmatlack@google.com> X-Mailer: git-send-email 2.56.1.911.g883d8bcb20-goog Message-ID: <20261202003955.3607156-10-dmatlack@google.com> Subject: [PATCH 09/18] selftests/liveupdate: Run tests in subdirectories from run-vmtests.sh From: David Matlack To: kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Albert Ou , Alexandre Ghiti , Alex Williamson , Bjorn Helgaas , David Matlack , Jacob Pan , Jason Gunthorpe , Josh Hilke , Lukas Wunner , Mike Rapoport , Palmer Dabbelt , Parav Pandit , Pasha Tatashin , Paul Walmsley , Pranjal Shrivastava , Pratyush Yadav , Samiullah Khawaja , Shuah Khan , Vipin Sharma X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_164012_980948_0AC0D624 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -9.5 (---------) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Make run-vmtests.sh also run every test defined by a /.vmtest.sh file, so that tests in subdirectories can be added without changing the list of tests in run-vmtests.sh. Replace slashes in test names with underscores when naming log files, since such test names include the subdirectory. Signed-off-by: David Matlack --- tools/testing/selftests/liveupdate/run-vmtests.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/liveupdate/run-vmtests.sh b/tools/testing/selftests/liveupdate/run-vmtests.sh index c3d828cfd63b..2460ac955511 100755 --- a/tools/testing/selftests/liveupdate/run-vmtests.sh +++ b/tools/testing/selftests/liveupdate/run-vmtests.sh @@ -22,6 +22,13 @@ TEST_NAMES=( "luo_stress_sessions" ) +# Tests in subdirectories are described by /.vmtest.sh +for test_def in "$SCRIPT_DIR"/*/*.vmtest.sh; do + [ -f "$test_def" ] || continue + test_def=${test_def#"$SCRIPT_DIR/"} + TEST_NAMES+=("${test_def%.vmtest.sh}") +done + function usage() { cat < %-8s %-24s ... " "$arch" "$test_name" -- 2.56.1.911.g883d8bcb20-goog _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv