common:
  filter: not CONFIG_NATIVE_LIBC
  tags:
    - posix
    - spinlocks
  # 1 tier0 platform per supported architecture
  platform_key:
    - arch
    - simulation
  min_flash: 64
  min_ram: 32
tests:
  portability.posix.spinlocks: {}
  portability.posix.spinlocks.minimal:
    extra_configs:
      - CONFIG_MINIMAL_LIBC=y
  portability.posix.spinlocks.newlib:
    filter: TOOLCHAIN_HAS_NEWLIB == 1
    extra_configs:
      - CONFIG_NEWLIB_LIBC=y
  portability.posix.spinlocks.picolibc:
    tags: picolibc
    filter: CONFIG_PICOLIBC_SUPPORTED
    extra_configs:
      - CONFIG_PICOLIBC=y
  portability.posix.spinlocks.no_spin_validate:
    extra_configs:
      - CONFIG_SPIN_VALIDATE=n
