Skip to content
Commit d25563f5 authored by Luca Burelli's avatar Luca Burelli Committed by Anas Nashif
Browse files

llext: tests: re-initialize variables



Some tests depend on global initialized variables, which are then
modified during the test. When enabling user mode, the functions are
called multiple times but the variables are not reinitialized, resulting
in a test failure.

This patch adds a run_id variable to the tests to reinitialize the
variables when the test is called multiple times. It is purposefully
initialized to 41 at startup to detect if the variable is not set up
properly by the llext loader.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 42a0d18e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment