mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Add a hint to 'make test' see test problems
This commit is contained in:
parent
bfc220058f
commit
dbeee0640a
2 changed files with 7 additions and 0 deletions
|
@ -184,6 +184,11 @@ add_custom_command(OUTPUT run-reproduce
|
|||
)
|
||||
add_custom_target(reproduce DEPENDS run-reproduce)
|
||||
|
||||
add_custom_command(OUTPUT show-problems
|
||||
COMMAND cd test && ./problems
|
||||
)
|
||||
add_custom_target(problems DEPENDS show-problems)
|
||||
|
||||
# ---
|
||||
|
||||
set (CPACK_SOURCE_GENERATOR "TGZ")
|
||||
|
|
|
@ -121,6 +121,7 @@ if __name__ == "__main__":
|
|||
expected_int = v.format(sum(expected.values()))
|
||||
runtime_str = "Runtime:" + pad(20)
|
||||
runtime_int = "{0:>8.2f} seconds".format(stop - start)
|
||||
details_str = "For details run 'make problems'"
|
||||
|
||||
if cmd_args.summary:
|
||||
print(color(passed_str, "green"), passed_int)
|
||||
|
@ -129,6 +130,7 @@ if __name__ == "__main__":
|
|||
print(color(skipped_str, "yellow"), skipped_int)
|
||||
print(color(expected_str, "yellow"), expected_int)
|
||||
print(runtime_str, runtime_int)
|
||||
print(details_str)
|
||||
|
||||
else:
|
||||
print(color(error_str, "red"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue