common:
  tags: zms
tests:
  filesystem.zms:
    platform_allow:
      - qemu_x86
  filesystem.zms.0x00:
    extra_args: DTC_OVERLAY_FILE=boards/qemu_x86_ev_0x00.overlay
    platform_allow: qemu_x86
  filesystem.zms.sim.no_erase:
    extra_args: CONFIG_FLASH_SIMULATOR_EXPLICIT_ERASE=n
    platform_allow: qemu_x86
  filesystem.zms.sim.corrupt_close:
    extra_args:
      - CONFIG_FLASH_SIMULATOR_EXPLICIT_ERASE=y
      - CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES=y
    platform_allow: qemu_x86
  filesystem.zms.cache:
    extra_args:
      - CONFIG_ZMS_LOOKUP_CACHE=y
      - CONFIG_ZMS_LOOKUP_CACHE_SIZE=64
    platform_allow: native_sim
  filesystem.zms.data_crc:
    extra_args:
      - CONFIG_ZMS_DATA_CRC=y
    platform_allow:
      - native_sim
      - qemu_x86
