mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
[test, output] display KNOWN_FAILING in yellow
This commit is contained in:
parent
6b0b427d93
commit
0d78b29902
@ -187,7 +187,17 @@ void CB2_TestRunner(void)
|
|||||||
|
|
||||||
switch (gTestRunnerState.result)
|
switch (gTestRunnerState.result)
|
||||||
{
|
{
|
||||||
case TEST_RESULT_FAIL: result = "FAIL"; break;
|
case TEST_RESULT_FAIL:
|
||||||
|
if (gTestRunnerState.expectedResult == TEST_RESULT_FAIL)
|
||||||
|
{
|
||||||
|
result = "KNOWN_FAILING";
|
||||||
|
color = "\e[33m";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result = "FAIL";
|
||||||
|
}
|
||||||
|
break;
|
||||||
case TEST_RESULT_PASS: result = "PASS"; break;
|
case TEST_RESULT_PASS: result = "PASS"; break;
|
||||||
case TEST_RESULT_SKIP: result = "SKIP"; break;
|
case TEST_RESULT_SKIP: result = "SKIP"; break;
|
||||||
case TEST_RESULT_INVALID: result = "INVALID"; break;
|
case TEST_RESULT_INVALID: result = "INVALID"; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user