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>
This commit is contained in:
Tom Burdick 2024-12-26 12:43:03 -06:00 committed by Benjamin Cabé
parent bc5aff3582
commit 73f1156c5e
28 changed files with 11 additions and 11 deletions

View file

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

View file

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

View file

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