summaryrefslogtreecommitdiffstats
path: root/util/cmake/tests/test_parsing.py
diff options
context:
space:
mode:
authorTobias Hunger <[email protected]>2019-02-27 16:12:13 +0100
committerTobias Hunger <[email protected]>2019-02-28 08:08:41 +0000
commit83354655b2f96f0fc5fa8f39d10b58c36a9e8bf5 (patch)
tree9255d7921f38f5f983fc332e7f16a108e220a96f /util/cmake/tests/test_parsing.py
parentf2e968b245e0428b75eecb0bb7244a0391e3b355 (diff)
CMake: pro2cmake.py: Simplify code and add test for line continuation
Simplify code a bit and add a test for line continuation fixup. Change-Id: If865bc94d7d419c65d3280b5f9613ebc0d3db74a Reviewed-by: Alexandru Croitor <[email protected]>
Diffstat (limited to 'util/cmake/tests/test_parsing.py')
-rwxr-xr-xutil/cmake/tests/test_parsing.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/cmake/tests/test_parsing.py b/util/cmake/tests/test_parsing.py
index 2f227e0ba26..79ad0a49454 100755
--- a/util/cmake/tests/test_parsing.py
+++ b/util/cmake/tests/test_parsing.py
@@ -300,3 +300,8 @@ def test_realworld_qtconfig():
assert len(result) == 1
validate_op('MODULE_AUX_INCLUDES', '=', ['\\$\\$QT_MODULE_INCLUDE_BASE/QtANGLE'], result[0])
+
+def test_realworld_lc():
+ result = parse_file(_tests_path + '/data/lc.pro')
+ assert len(result) == 3
+