-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/misc/llext-edk: Do run the test, instead of only building it
As commit 6a1d987 ("cmake: Add LL_EXTENSION_BUILD to EDK flags") made clear, only building an application with the EDK is not enough to prevent regressions. This patch address that by also running the application using the extension built with the EDK. To provide a more comprehensive test, the application runs the extension code on both kernel and user space, using a parameter sent by the application. Assertions on the output from the application are used to ensure expected results. For now, tests only run on qemu_cortex_r5, but this can be expanded in the future. Signed-off-by: Ederson de Souza <[email protected]>
- Loading branch information
1 parent
1893a12
commit fe573eb
Showing
8 changed files
with
162 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
CONFIG_APPLICATION_DEFINED_SYSCALL=y | ||
#CONFIG_USERSPACE=y | ||
CONFIG_LLEXT=y | ||
CONFIG_USERSPACE=y | ||
|
||
CONFIG_MAIN_STACK_SIZE=2048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ tests: | |
- pytest | ||
- edk | ||
platform_allow: | ||
- native_sim | ||
- qemu_cortex_r5 | ||
toolchain_exclude: llvm |