diff options
| author | David Matlack <dmatlack@google.com> | 2025-11-26 23:17:16 +0000 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2025-11-28 10:58:06 -0700 |
| commit | 2d5dbd3156799db2b7d25addb45c289b0aa7ff11 (patch) | |
| tree | e283e4d0bf6dfc7b16e6da5381e0f417527f20e0 /tools | |
| parent | a63a03afd857e5ef968b01ec99b186087979a348 (diff) | |
vfio: selftests: Move run.sh into scripts directory
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 <amastro@fb.com>
Tested-by: Alex Mastro <amastro@fb.com>
Reviewed-by: Raghavendra Rao Ananta <rananta@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20251126231733.3302983-2-dmatlack@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/testing/selftests/vfio/Makefile | 4 | ||||
| -rwxr-xr-x | tools/testing/selftests/vfio/scripts/run.sh (renamed from tools/testing/selftests/vfio/run.sh) | 0 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/testing/selftests/vfio/Makefile b/tools/testing/selftests/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 += vfio_dma_mapping_test TEST_GEN_PROGS += vfio_iommufd_setup_test TEST_GEN_PROGS += vfio_pci_device_test TEST_GEN_PROGS += vfio_pci_driver_test -TEST_PROGS_EXTENDED := run.sh + +TEST_FILES += scripts/run.sh + include ../lib.mk include lib/libvfio.mk diff --git a/tools/testing/selftests/vfio/run.sh b/tools/testing/selftests/vfio/scripts/run.sh index 0476b6d7adc3..0476b6d7adc3 100755 --- a/tools/testing/selftests/vfio/run.sh +++ b/tools/testing/selftests/vfio/scripts/run.sh |