1common:
2  filter: not (CONFIG_NATIVE_BUILD and CONFIG_EXTERNAL_LIBC)
3  arch_exclude:
4    - nios2
5  tags:
6    - posix
7    - filesystem
8    - fatfs
9  min_ram: 128
10  modules:
11    - fatfs
12tests:
13  portability.posix.fs:
14    extra_configs:
15      - CONFIG_NEWLIB_LIBC=n
16    integration_platforms:
17      - qemu_x86
18  portability.posix.fs.newlib:
19    filter: TOOLCHAIN_HAS_NEWLIB == 1
20    extra_configs:
21      - CONFIG_NEWLIB_LIBC=y
22    integration_platforms:
23      - qemu_x86
24  portability.posix.fs.tls:
25    filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
26    extra_configs:
27      - CONFIG_NEWLIB_LIBC=n
28      - CONFIG_THREAD_LOCAL_STORAGE=y
29    integration_platforms:
30      - qemu_x86
31  portability.posix.fs.tls.newlib:
32    filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and
33      CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
34    extra_configs:
35      - CONFIG_NEWLIB_LIBC=y
36      - CONFIG_THREAD_LOCAL_STORAGE=y
37    integration_platforms:
38      - qemu_x86
39  portability.posix.fs.picolibc:
40    tags: picolibc
41    filter: CONFIG_PICOLIBC_SUPPORTED
42    extra_configs:
43      - CONFIG_PICOLIBC=y
44    integration_platforms:
45      - qemu_x86
46  portability.posix.fs.tls.picolibc:
47    tags: picolibc
48    filter: CONFIG_PICOLIBC_SUPPORTED
49    extra_configs:
50      - CONFIG_PICOLIBC=y
51    integration_platforms:
52      - qemu_x86
53