Lines Matching refs:test_case
122 void load_call_unload(const struct llext_test *test_case) in load_call_unload() argument
125 LLEXT_BUF_LOADER(test_case->buf, test_case->buf_len); in load_call_unload()
130 int res = llext_load(loader, test_case->name, &ext, &ldr_parm); in load_call_unload()
173 if (test_case->test_setup) { in load_call_unload()
174 test_case->test_setup(ext, &llext_thread); in load_call_unload()
180 if (test_case->test_cleanup) { in load_call_unload()
181 test_case->test_cleanup(ext); in load_call_unload()
188 if (!test_case->kernel_only) { in load_call_unload()
197 if (test_case->test_setup) { in load_call_unload()
198 test_case->test_setup(ext, &llext_thread); in load_call_unload()
204 if (test_case->test_cleanup) { in load_call_unload()
205 test_case->test_cleanup(ext); in load_call_unload()
213 if (test_case->test_setup) { in load_call_unload()
214 test_case->test_setup(ext, NULL); in load_call_unload()
229 if (test_case->test_cleanup) { in load_call_unload()
230 test_case->test_cleanup(ext); in load_call_unload()
246 const struct llext_test test_case = { \
252 load_call_unload(&test_case); \