| 182 | static txInteger gxTest262Async = TEST262_SYNC; |
| 183 | |
| 184 | void _xsbug_done(txMachine* the) |
| 185 | { |
| 186 | if (gxTest262Async == TEST262_SYNC) |
| 187 | xsTrace("!!! unexpected $DONE: not waiting !!!\n"); |
| 188 | else if (gxTest262Async == TEST262_ASYNC_DONE) |
| 189 | xsTrace("!!! unexpected $DONE: already done !!!\n"); |
| 190 | else { |
| 191 | gxTest262Async = TEST262_ASYNC_DONE; |
| 192 | if ((mxArgc > 0) && (xsTest(xsArg(0)))) |
| 193 | fxBubble(the, 2, fxToString(the, mxArgv(0)), 0, "test262"); |
| 194 | else |
| 195 | fxBubble(the, 2, "<", 0, "test262"); |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | // stack grows UP |
| 200 | // pxTaskGetStackStart (on ESP32) returns end of stack (!) |
nothing calls this directly
no test coverage detected