Browse Source

llext: Remove simple from llext test

The simple path and naming wasn't really right, there are no other tests
and the test suite has become quite automated and extensable to cover
most things we'd like to test with llext. Building, loading, and linking
of course.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
pull/83499/head
Tom Burdick 7 months ago committed by Benjamin Cabé
parent
commit
73f1156c5e
  1. 4
      tests/subsys/llext/CMakeLists.txt
  2. 0
      tests/subsys/llext/boards/qemu_arc_qemu_arc_em.conf
  3. 0
      tests/subsys/llext/boards/qemu_arc_qemu_arc_em.overlay
  4. 0
      tests/subsys/llext/boards/qemu_cortex_a9.conf
  5. 0
      tests/subsys/llext/boards/qemu_cortex_a9.overlay
  6. 0
      tests/subsys/llext/boards/qemu_cortex_r5.conf
  7. 0
      tests/subsys/llext/boards/qemu_cortex_r5.overlay
  8. 0
      tests/subsys/llext/no_mem_protection.conf
  9. 0
      tests/subsys/llext/prj.conf
  10. 0
      tests/subsys/llext/src/detached_fn_ext.c
  11. 0
      tests/subsys/llext/src/export_dependency_ext.c
  12. 0
      tests/subsys/llext/src/export_dependent_ext.c
  13. 0
      tests/subsys/llext/src/find_section_ext.c
  14. 0
      tests/subsys/llext/src/hello_world_ext.c
  15. 0
      tests/subsys/llext/src/init_fini_ext.c
  16. 0
      tests/subsys/llext/src/logging_ext.c
  17. 0
      tests/subsys/llext/src/movwmovt_ext.c
  18. 0
      tests/subsys/llext/src/multi_file_ext1.c
  19. 0
      tests/subsys/llext/src/multi_file_ext2.c
  20. 0
      tests/subsys/llext/src/object_ext.c
  21. 0
      tests/subsys/llext/src/pre_located_ext.c
  22. 0
      tests/subsys/llext/src/relative_jump_ext.c
  23. 0
      tests/subsys/llext/src/syscalls_ext.c
  24. 0
      tests/subsys/llext/src/syscalls_ext.h
  25. 2
      tests/subsys/llext/src/test_llext.c
  26. 0
      tests/subsys/llext/src/threads_kernel_objects_ext.c
  27. 0
      tests/subsys/llext/src/threads_kernel_objects_ext.h
  28. 16
      tests/subsys/llext/testcase.yaml

4
tests/subsys/llext/simple/CMakeLists.txt → tests/subsys/llext/CMakeLists.txt

@ -3,10 +3,10 @@ @@ -3,10 +3,10 @@
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(llext_simple_test)
project(llext_test)
target_sources(app PRIVATE
src/test_llext_simple.c
src/test_llext.c
)
target_include_directories(app PRIVATE

0
tests/subsys/llext/simple/boards/qemu_arc_qemu_arc_em.conf → tests/subsys/llext/boards/qemu_arc_qemu_arc_em.conf

0
tests/subsys/llext/simple/boards/qemu_arc_qemu_arc_em.overlay → tests/subsys/llext/boards/qemu_arc_qemu_arc_em.overlay

0
tests/subsys/llext/simple/boards/qemu_cortex_a9.conf → tests/subsys/llext/boards/qemu_cortex_a9.conf

0
tests/subsys/llext/simple/boards/qemu_cortex_a9.overlay → tests/subsys/llext/boards/qemu_cortex_a9.overlay

0
tests/subsys/llext/simple/boards/qemu_cortex_r5.conf → tests/subsys/llext/boards/qemu_cortex_r5.conf

0
tests/subsys/llext/simple/boards/qemu_cortex_r5.overlay → tests/subsys/llext/boards/qemu_cortex_r5.overlay

0
tests/subsys/llext/simple/no_mem_protection.conf → tests/subsys/llext/no_mem_protection.conf

0
tests/subsys/llext/simple/prj.conf → tests/subsys/llext/prj.conf

0
tests/subsys/llext/simple/src/detached_fn_ext.c → tests/subsys/llext/src/detached_fn_ext.c

0
tests/subsys/llext/simple/src/export_dependency_ext.c → tests/subsys/llext/src/export_dependency_ext.c

0
tests/subsys/llext/simple/src/export_dependent_ext.c → tests/subsys/llext/src/export_dependent_ext.c

0
tests/subsys/llext/simple/src/find_section_ext.c → tests/subsys/llext/src/find_section_ext.c

0
tests/subsys/llext/simple/src/hello_world_ext.c → tests/subsys/llext/src/hello_world_ext.c

0
tests/subsys/llext/simple/src/init_fini_ext.c → tests/subsys/llext/src/init_fini_ext.c

0
tests/subsys/llext/simple/src/logging_ext.c → tests/subsys/llext/src/logging_ext.c

0
tests/subsys/llext/simple/src/movwmovt_ext.c → tests/subsys/llext/src/movwmovt_ext.c

0
tests/subsys/llext/simple/src/multi_file_ext1.c → tests/subsys/llext/src/multi_file_ext1.c

0
tests/subsys/llext/simple/src/multi_file_ext2.c → tests/subsys/llext/src/multi_file_ext2.c

0
tests/subsys/llext/simple/src/object_ext.c → tests/subsys/llext/src/object_ext.c

0
tests/subsys/llext/simple/src/pre_located_ext.c → tests/subsys/llext/src/pre_located_ext.c

0
tests/subsys/llext/simple/src/relative_jump_ext.c → tests/subsys/llext/src/relative_jump_ext.c

0
tests/subsys/llext/simple/src/syscalls_ext.c → tests/subsys/llext/src/syscalls_ext.c

0
tests/subsys/llext/simple/src/syscalls_ext.h → tests/subsys/llext/src/syscalls_ext.h

2
tests/subsys/llext/simple/src/test_llext_simple.c → tests/subsys/llext/src/test_llext.c

@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
#include "threads_kernel_objects_ext.h"
LOG_MODULE_REGISTER(test_llext_simple);
LOG_MODULE_REGISTER(test_llext);
#ifdef CONFIG_LLEXT_STORAGE_WRITABLE

0
tests/subsys/llext/simple/src/threads_kernel_objects_ext.c → tests/subsys/llext/src/threads_kernel_objects_ext.c

0
tests/subsys/llext/simple/src/threads_kernel_objects_ext.h → tests/subsys/llext/src/threads_kernel_objects_ext.h

16
tests/subsys/llext/simple/testcase.yaml → tests/subsys/llext/testcase.yaml

@ -24,14 +24,14 @@ tests: @@ -24,14 +24,14 @@ tests:
# without actually running it to load some extension, let's keep it in
# good shape and ready to be used by additional architectures in the
# future.
llext.simple.loader_build:
llext.loader_build:
build_only: true
# Run the suite with all combinations of core Kconfig options for the LLEXT
# subsystem (storage type, ELF type, MPU/MMU etc). To focus on LLEXT issues,
# most tests include no_mem_protection.conf, which disables memory protection
# hardware completely.
llext.simple.readonly:
llext.readonly:
arch_allow: # Xtensa needs writable storage
- arm
- riscv
@ -40,14 +40,14 @@ tests: @@ -40,14 +40,14 @@ tests:
extra_conf_files: ['no_mem_protection.conf']
extra_configs:
- CONFIG_LLEXT_STORAGE_WRITABLE=n
llext.simple.readonly_mpu:
llext.readonly_mpu:
min_ram: 128
arch_allow: arm # Xtensa needs writable storage, currently not supported on RISC-V
filter: CONFIG_ARCH_HAS_USERSPACE
extra_configs:
- CONFIG_USERSPACE=y
- CONFIG_LLEXT_STORAGE_WRITABLE=n
llext.simple.readonly_mmu:
llext.readonly_mmu:
arch_allow:
- arm64
- arm
@ -58,7 +58,7 @@ tests: @@ -58,7 +58,7 @@ tests:
extra_configs:
- CONFIG_LLEXT_HEAP_SIZE=128 # qemu_cortex_a9 requires larger heap
- CONFIG_LLEXT_STORAGE_WRITABLE=n
llext.simple.writable:
llext.writable:
arch_allow:
- arm
- xtensa
@ -70,7 +70,7 @@ tests: @@ -70,7 +70,7 @@ tests:
extra_conf_files: ['no_mem_protection.conf']
extra_configs:
- CONFIG_LLEXT_STORAGE_WRITABLE=y
llext.simple.writable_relocatable:
llext.writable_relocatable:
arch_allow:
- arm
- xtensa
@ -91,7 +91,7 @@ tests: @@ -91,7 +91,7 @@ tests:
# Test the Symbol Link Identifier (SLID) linking feature on writable
# storage to cover both ARM and Xtensa architectures on the same test.
llext.simple.writable_slid_linking:
llext.writable_slid_linking:
arch_allow:
- arm
- xtensa
@ -104,7 +104,7 @@ tests: @@ -104,7 +104,7 @@ tests:
extra_configs:
- CONFIG_LLEXT_STORAGE_WRITABLE=y
- CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID=y
llext.simple.writable_relocatable_slid_linking:
llext.writable_relocatable_slid_linking:
arch_allow:
- arm
- xtensa
Loading…
Cancel
Save