MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / test_task

Function test_task

Tests/TactilityCore/Source/Main.cpp:14–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12} TestTaskData;
13
14void test_task(void* parameter) {
15 auto* data = (TestTaskData*)parameter;
16
17 doctest::Context context;
18
19 context.applyCommandLine(data->argc, data->argv);
20
21 // overrides
22 context.setOption("no-breaks", true); // don't break in the debugger when assertions fail
23
24 data->result = context.run();
25
26 vTaskEndScheduler();
27
28 vTaskDelete(nullptr);
29}
30
31int main(int argc, char** argv) {
32 TestTaskData data = {

Callers

nothing calls this directly

Calls 3

applyCommandLineMethod · 0.80
setOptionMethod · 0.80
runMethod · 0.80

Tested by

no test coverage detected