MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / run

Function run

source/test/testCPU.cpp:10108–10119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10106}
10107
10108void run(void (*functionPtr)(), const char* name) {
10109 didFail = 0;
10110 setup();
10111 functionPtr();
10112 printf("%s", name);
10113 printf(" ... ");
10114 if (didFail) {
10115 printf("FAILED\n");
10116 } else {
10117 printf("OK\n");
10118 }
10119}
10120
10121// disp8 is signed, it doesn't matter if disp32 is signed or not because of 32-bit rollover
10122// Mod

Callers 1

runCpuTestsFunction · 0.70

Calls 1

setupFunction · 0.85

Tested by

no test coverage detected