Overview
Comment: | tests: Use \r instead of setting cursorColumn = 0 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ba3216698733a2f6ea750a49f545c7fe |
User & Date: | js on 2020-07-04 21:19:16 |
Other Links: | manifest | tags |
Context
2020-07-05
| ||
10:25 | Add forwardingTargetForSelector: for SPARC/ELF check-in: 0c8a6fdf2a user: js tags: trunk | |
2020-07-04
| ||
21:19 | tests: Use \r instead of setting cursorColumn = 0 check-in: ba32166987 user: js tags: trunk | |
2020-07-01
| ||
21:06 | apple-forwarding-x86_64.S: Don't use jmp short check-in: 1a4eba3a16 user: js tags: trunk | |
Changes
Modified tests/TestsAppDelegate.m from [0707701acb] to [3cf677c3a1].
︙ | ︙ | |||
211 212 213 214 215 216 217 | [of_stdout writeFormat: @"[%@] %@: ", module, test]; } - (void)outputSuccess: (OFString *)test inModule: (OFString *)module { if (of_stdout.hasTerminal) { | < | < | | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | [of_stdout writeFormat: @"[%@] %@: ", module, test]; } - (void)outputSuccess: (OFString *)test inModule: (OFString *)module { if (of_stdout.hasTerminal) { of_stdout.foregroundColor = [OFColor lime]; [of_stdout eraseLine]; [of_stdout writeFormat: @"\r[%@] %@: ok\n", module, test]; } else [of_stdout writeLine: @"ok"]; } - (void)outputFailure: (OFString *)test inModule: (OFString *)module { if (of_stdout.hasTerminal) { of_stdout.foregroundColor = [OFColor red]; [of_stdout eraseLine]; [of_stdout writeFormat: @"\r[%@] %@: failed\n", module, test]; #ifdef OF_WII [of_stdout reset]; [of_stdout writeLine: @"Press A to continue!"]; for (;;) { WPAD_ScanPads(); |
︙ | ︙ | |||
283 284 285 286 287 288 289 | if (hidKeysDown() & KEY_A) break; gspWaitForVBlank(); } #endif | | | 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | if (hidKeysDown() & KEY_A) break; gspWaitForVBlank(); } #endif [of_stdout writeString: @"\r"]; [of_stdout reset]; [of_stdout eraseLine]; } else [of_stdout writeLine: @"failed"]; } - (void)applicationDidFinishLaunching |
︙ | ︙ |