From nobody Tue Dec 2 01:26:45 2025 Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D84C346E46 for ; Fri, 21 Nov 2025 18:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763748882; cv=none; b=TCgRcl5SlM/YYrAYp5T3XEdUNHqa3rxt2d9eMi0lQwzKIH28fwJhADW1jwHD+MLsHQYUk3x0UuIV+iu67z9HLLu3RksJLaUilDTRn8oCWC9BAcVQbwWXw3DPODzJY/83asS/xNMp1tiZnlOSXHfPSmpnKSS1qcbpc8fmNJUo4f8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763748882; c=relaxed/simple; bh=4jbFW755dBJOKS7c/96o53MFewYxrjS3To1SirYDZ6M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=hieZOBUnP9ZMEsWlNcR2lac0BiUymxi7lHqBMKiPFWSvvG9ORZOSUetwJ0+JWo/AoxaLDBYyAmCaTROsK+w9VEq9/1xtwG903oEW3KxqJHbxYvAgam6cYr3fowgdZLbtFbE/xAfajkZruhh8m8Q5VaKwGj6kWBo+fp+cLu+nagA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=OYzqR6UC; arc=none smtp.client-ip=209.85.210.202 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.b="OYzqR6UC" Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-7b895b520a2so2536653b3a.0 for ; Fri, 21 Nov 2025 10:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1763748881; x=1764353681; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=QoH2RYvouNfNzcg9XmRj4HJ+/hSocAJqMJ5WG8meLAE=; b=OYzqR6UCBc4m5PQt0gEzKQk6pxbwxjCJ9F7cZ6doxm5+LHPujHVvcuEtZxCuzp9odK 5JVp+Gc4SPV5kD53rf/0doa2Kg2mOnfgcjPoCtzrgx3IUsx9Cj9maGt0Q1xjEJG46OO5 VXSe6V90xX4fGKUk+1OqvgZ99ZVSzFQUMI7JgG/SquODeVOLxMi9dnKKXvZEQ7jHwjdP UL97bQ8oj01pK+Ytstb8t8cxe/BnBXUWd26R0qdGG0QsyqRJte+IesjCQ6SxMfGIdUn/ 29N3dyKVhF19CLDvgCZr6KznCoFAkN6J53lo8jj7uZfTxJMuifJVUQ3GmNMmDHZ/8sd7 nYDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763748881; x=1764353681; h=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; bh=QoH2RYvouNfNzcg9XmRj4HJ+/hSocAJqMJ5WG8meLAE=; b=B15hY28MCAlm+19sgzpFhl7TocEHCwEeyvgsLmP/oY0lWl3Umzm8VuwIsmPO6Yg+NB 00QnAAq9ilddiq1zt0MO4jdYAxWvvgHYb1+wGCNtF7hi4nWlzCwAWXx353aRD12MiZ// E97jZlPt3LNbGaeGijVmmgODphiHD6eJUrnRUqk2huZCmJszV6Lv1j5hkaTpqunVQ6zP ItxNN3eBXuVYxZzlxlwpIaItMpmeh2uuLYzaHJ9KyM7X+Fdk3cMnh/QaPO78jsxdmsNW so/SloagHNbbrcQWzOQyOPJHr753tx6RezFRPX+Yi7aI1YWXB3dOJDtLQXFqlxPU9LE3 HJcg== X-Forwarded-Encrypted: i=1; AJvYcCUzCPH7vi0rFN5k36nEnashTVkVYJe+aE5bg4ktqRBSNQ59ZLmGFpcDe+uY20L1rVIso57S9wS3W8xc4g0=@vger.kernel.org X-Gm-Message-State: AOJu0YwmlJs1KZuP1O+zggzErgAO8It8+5BCwX4PnxGlOn4DW0bepP0l ucdB/s9mHlzW1MMictY07eEzDC9N27g5ddKb9fGdpMkf+fC3nfnmjPcXmAQSgeel6ykIk8olW+f N9BfNuGMuTOiKEw== X-Google-Smtp-Source: AGHT+IFYfYykvUE7exbquc/WgJQX81W9GZXkUukUXGA0A/oiKRCw7ky23MadV3qd62uwBzor+3VKId5C5olVdw== X-Received: from pfbey6.prod.google.com ([2002:a05:6a00:38c6:b0:7ba:e377:7797]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:10d1:b0:77f:4a83:8f9 with SMTP id d2e1a72fcca58-7c58c2a730amr3542935b3a.2.1763748880094; Fri, 21 Nov 2025 10:14:40 -0800 (PST) Date: Fri, 21 Nov 2025 18:14:12 +0000 In-Reply-To: <20251121181429.1421717-1-dmatlack@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251121181429.1421717-1-dmatlack@google.com> X-Mailer: git-send-email 2.52.0.rc2.455.g230fcf2819-goog Message-ID: <20251121181429.1421717-2-dmatlack@google.com> Subject: [PATCH v3 01/18] vfio: selftests: Move run.sh into scripts directory From: David Matlack To: Alex Williamson Cc: Alex Mastro , David Matlack , Jason Gunthorpe , Josh Hilke , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Raghavendra Rao Ananta , Vipin Sharma Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Move run.sh in a new sub-directory scripts/. This directory will be used to house various helper scripts to be used by humans and automation for running VFIO selftests. Opportunistically also switch run.sh from TEST_PROGS_EXTENDED to TEST_FILES. The former is for actual test executables that are just not run by default. TEST_FILES is a better fit for helper scripts. No functional change intended. Reviewed-by: Alex Mastro Tested-by: Alex Mastro Signed-off-by: David Matlack --- tools/testing/selftests/vfio/Makefile | 4 +++- tools/testing/selftests/vfio/{ =3D> scripts}/run.sh | 0 2 files changed, 3 insertions(+), 1 deletion(-) rename tools/testing/selftests/vfio/{ =3D> scripts}/run.sh (100%) diff --git a/tools/testing/selftests/vfio/Makefile b/tools/testing/selftest= s/vfio/Makefile index 324ba0175a33..ad7fa4071c20 100644 --- a/tools/testing/selftests/vfio/Makefile +++ b/tools/testing/selftests/vfio/Makefile @@ -3,7 +3,9 @@ TEST_GEN_PROGS +=3D vfio_dma_mapping_test TEST_GEN_PROGS +=3D vfio_iommufd_setup_test TEST_GEN_PROGS +=3D vfio_pci_device_test TEST_GEN_PROGS +=3D vfio_pci_driver_test -TEST_PROGS_EXTENDED :=3D run.sh + +TEST_FILES +=3D scripts/run.sh + include ../lib.mk include lib/libvfio.mk =20 diff --git a/tools/testing/selftests/vfio/run.sh b/tools/testing/selftests/= vfio/scripts/run.sh similarity index 100% rename from tools/testing/selftests/vfio/run.sh rename to tools/testing/selftests/vfio/scripts/run.sh --=20 2.52.0.rc2.455.g230fcf2819-goog