From 626b2f9cf2a591e1e5bdf072dd97fe520a72100a Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Tue, 13 Jul 2021 13:00:17 +0200 Subject: [PATCH] run/libc_vfs_fs_fat: add to autopilot Excludes board 'virt_qemu' from the test as we don't have block device drivers for this board. Ref #4220 --- repos/libports/run/libc_vfs_filesystem_test.inc | 2 +- repos/libports/run/libc_vfs_fs_fat.run | 5 +++++ tool/autopilot.list | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/repos/libports/run/libc_vfs_filesystem_test.inc b/repos/libports/run/libc_vfs_filesystem_test.inc index a19b966540..85f2dbbdb4 100644 --- a/repos/libports/run/libc_vfs_filesystem_test.inc +++ b/repos/libports/run/libc_vfs_filesystem_test.inc @@ -14,7 +14,7 @@ # \arg test_boot_modules # -if {[have_board zynq_qemu]} { +if {[have_board zynq_qemu] || [have_board virt_qemu]} { puts "Run script does not support this platform." exit 0 } diff --git a/repos/libports/run/libc_vfs_fs_fat.run b/repos/libports/run/libc_vfs_fs_fat.run index 47f9269c92..cbf12c61f3 100644 --- a/repos/libports/run/libc_vfs_fs_fat.run +++ b/repos/libports/run/libc_vfs_fs_fat.run @@ -1,3 +1,8 @@ +if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} { + puts "Autopilot mode is not supported on this platform." + exit 0 +} + set mkfs_cmd [installed_command mkfs.vfat] set mkfs_opts "-F32 -nlibc_vfs" diff --git a/tool/autopilot.list b/tool/autopilot.list index f655a72b88..997deb5724 100644 --- a/tool/autopilot.list +++ b/tool/autopilot.list @@ -20,6 +20,7 @@ init_smp event_filter libc_integration libc_vfs_fs_ext2 +libc_vfs_fs_fat log_core lwip lx_hybrid_ctors