From c175e97a8862be5c87196aa94cb911975c84cf84 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 25 Feb 2020 10:19:50 -0500 Subject: summary: Add list_sep keyword argument This allows having lists on a single line instead of having each value aligned on a new line. --- run_unittests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'run_unittests.py') diff --git a/run_unittests.py b/run_unittests.py index aa27a1d..09bdcf1 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4347,10 +4347,11 @@ recommended as it is not supported on some platforms''') A list: string 1 True - empty list: + empty list: A number: 1 yes: YES no: NO + coma list: a, b, c Subprojects sub: YES -- cgit v1.1 From 8101b0ddab1dea8de3b2588a4b75da525865c404 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 25 Feb 2020 10:29:47 -0500 Subject: summary: Add more info in Subprojects section This adds a warnings counter for subprojects that passed. This is to encourage developpers to check warnings in the logs and hopefully fix them. Otherwise they could be hidden in hundreds lines of logs. This also print the error message for subprojects that did not pass. The error message is often enough to fix the issue (e.g. missing dependency) and it's easier than searching in the logs why a subproject failed. --- run_unittests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_unittests.py') diff --git a/run_unittests.py b/run_unittests.py index 09bdcf1..cbc2d1f 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4355,7 +4355,7 @@ recommended as it is not supported on some platforms''') Subprojects sub: YES - sub2: NO + sub2: NO Problem encountered: This subproject failed ''') expected_lines = expected.split('\n')[1:] out_start = out.find(expected_lines[0]) -- cgit v1.1