mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Revert back showing test cases status before
This commit is contained in:
@ -249,11 +249,13 @@ void unityOutputComplete(void) { unittest_uart_end(); }
|
|||||||
for line in data.strip().split("\n"):
|
for line in data.strip().split("\n"):
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if line.endswith(":PASS"):
|
if line.endswith(":PASS"):
|
||||||
click.echo("[%s] %s" % (click.style("PASSED", fg="green"), line[:-5]))
|
click.echo("%s\t[%s]" % (line[:-5], click.style("PASSED", fg="green")))
|
||||||
elif line.endswith(":IGNORE"):
|
elif line.endswith(":IGNORE"):
|
||||||
click.echo("[%s] %s" % (click.style("IGNORED", fg="yellow"), line[:-7]))
|
click.echo(
|
||||||
|
"%s\t[%s]" % (line[:-7], click.style("IGNORED", fg="yellow"))
|
||||||
|
)
|
||||||
elif ":FAIL" in line:
|
elif ":FAIL" in line:
|
||||||
click.echo("[%s] %s" % (click.style("FAILED", fg="red"), line))
|
click.echo("%s\t[%s]" % (line, click.style("FAILED", fg="red")))
|
||||||
else:
|
else:
|
||||||
click.echo(line)
|
click.echo(line)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user