# Test plan for cargo xtask xtest
# Format (extra cargo args allowed after required fields):
#   std         <package> [extra...]                    # host: cargo test (lib + integration)
#   unit        <package> [extra...]                    # host: cargo test --lib (lib-only)
#   uboot-unit  <package> <testscript> [extra...]       # bare-metal lib tests with custom runner
#   uefi        <package> <testname> <testscript> [extra...]
#   uboot       <package> <testname> <testscript> [extra...]
# Note: When using `cargo xtest -t <name>`, reserved tokens `std`, `unit`,
# and `uboot-unit` select those categories explicitly.

std allocator
std common
std dtb
std intrusive_linked_list
std mutex
std net
std pci
std typestate
std xtask
unit gdb_remote

uefi block-device virtio_blk_modern file/block-device/scripts/run_qemu.sh
uefi file fat32_virtio file/scripts/run_fat32_virtio_test.sh
uboot paging stage1_translation arch_hal/aarch64_hal/paging/scripts/run_stage_paging_test.sh
uboot paging stage2_translation arch_hal/aarch64_hal/paging/scripts/run_stage_paging_test.sh
uboot-unit exceptions arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uboot-unit gic arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uboot-unit elf-hypervisor arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh --bin elf-hypervisor
uboot gic gicv2_pending arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uboot gic gicv2_vgic_pending arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uboot gic vgic_types arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uboot gic gicv2_ppi_enable arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uboot gic vgic_e2e_poll arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uboot gic vgic_e2e_irq arch_hal/aarch64_hal/gic/scripts/run_gicv2_pending_test.sh
uefi gdb_remote uefi_basic_handshake gdb_remote/scripts/run_uefi_gdb_remote_test.sh
uefi gdb_remote uefi_packet_size gdb_remote/scripts/run_uefi_gdb_remote_qxfer_test.sh
uefi gdb_remote uefi_qxfer_features gdb_remote/scripts/run_uefi_gdb_remote_qxfer_test.sh