aboutsummaryrefslogtreecommitdiff
path: root/unittests/allplatformstests.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-08-09 11:47:34 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-08-09 14:11:42 -0400
commit5462ea921f6f55b6847986f80d333d890bf75ae4 (patch)
treee961e1eeaa585e985ccbfb15bbbaf9121c041fd1 /unittests/allplatformstests.py
parent566383c727219fc20cf1c90c0fe7dae4bcac5c96 (diff)
downloadmeson-5462ea921f6f55b6847986f80d333d890bf75ae4.zip
meson-5462ea921f6f55b6847986f80d333d890bf75ae4.tar.gz
meson-5462ea921f6f55b6847986f80d333d890bf75ae4.tar.bz2
interpreter: Fix missing subsubproject summary when subproject fails
In the case main->subp->subsubp, if subsubp succeed to configure but subp subsequentially fails, subsubp is still being built but its summary was missing.
Diffstat (limited to 'unittests/allplatformstests.py')
-rw-r--r--unittests/allplatformstests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index b7881f6..6a405c1 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -3091,6 +3091,10 @@ class AllPlatformTests(BasePlatformTests):
integer: 1
boolean: True
+ subsub undefined
+
+ Something: Some value
+
My Project 1.0
Configuration
@@ -3120,6 +3124,7 @@ class AllPlatformTests(BasePlatformTests):
Subprojects
sub : YES
sub2 : NO Problem encountered: This subproject failed
+ subsub : YES
''')
expected_lines = expected.split('\n')[1:]
out_start = out.find(expected_lines[0])