aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-02-25 10:29:47 -0500
committerXavier Claessens <xavier.claessens@collabora.com>2020-02-26 14:24:12 -0500
commit8101b0ddab1dea8de3b2588a4b75da525865c404 (patch)
tree0464532a0a29a382f92ad6490c6b4d7a3b4a4483 /run_unittests.py
parentc175e97a8862be5c87196aa94cb911975c84cf84 (diff)
downloadmeson-8101b0ddab1dea8de3b2588a4b75da525865c404.zip
meson-8101b0ddab1dea8de3b2588a4b75da525865c404.tar.gz
meson-8101b0ddab1dea8de3b2588a4b75da525865c404.tar.bz2
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.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
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])