Skip to content
Commit 39d55ac6 authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

tests: alert_api: run in user mode



main.c and test_alert_contexts.c merged.

User threads can't look inside the alert structures, so an extra
variable 'htype' introduced to track expectations for any given
alert object in alert_recv().

Alert objects have to be initialized by supervisor threads since
they register callbacks. An array of toplevel alert objects created
and initialized in test_main(), replacing the ones that used to
live on thread stacks.

Added userspace tag to testcase.yaml

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 776a0842
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment