TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ns_test_helpers.c File Reference
#include "ns_test_helpers.h"
#include "os_wrapper/thread.h"
#include "os_wrapper/semaphore.h"
#include "tfm_nspm_api.h"
Include dependency graph for ns_test_helpers.c:

Go to the source code of this file.

Data Structures

struct  test_task_t
 

Macros

#define PS_TEST_TASK_STACK_SIZE   (768)
 

Functions

void tfm_ps_run_test (const char *thread_name, struct test_result_t *ret, test_func_t *test_func)
 Executes the given test function from the specified thread context. More...
 

Macro Definition Documentation

#define PS_TEST_TASK_STACK_SIZE   (768)

Definition at line 15 of file ns_test_helpers.c.

Function Documentation

void tfm_ps_run_test ( const char *  thread_name,
struct test_result_t ret,
test_func_t test_func 
)

Executes the given test function from the specified thread context.

Parameters
[in]thread_nameName of the thread to be created for test
[out]retResult of the test
[in]test_funcTest function to be run in the new thread

Definition at line 48 of file ns_test_helpers.c.

Here is the call graph for this function: