qt5base-lts/util/cmake/tests
Alexandru Croitor e0a6e9f3aa Fix parsing qmake assignments that have comments in between
For some reason the python comment regex that we used does not ignore
the line break at the end of a comment line.

This caused issues when parsing multi line assignments with comments
in between.

Use our own regex for comments to circumvent the issue. It was found
while trying to port the qtimageformats repo.

Added a pytest as well.

Change-Id: Ie4bbdac2d1e1c133bc787a995224d0bbd8238204
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-05-17 13:31:03 +00:00
..
data Fix parsing qmake assignments that have comments in between 2019-05-17 13:31:03 +00:00
__init__.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
test_lc_fixup.py CMake: pro2cmake.py: Warn and fix broken line continuation 2019-02-28 08:06:41 +00:00
test_logic_mapping.py CMake: pro2cmake.py: Improve condition simplification code 2019-02-27 16:02:58 +00:00
test_operations.py CMake: Fix test_operations 2019-05-17 13:26:26 +00:00
test_parsing.py Fix parsing qmake assignments that have comments in between 2019-05-17 13:31:03 +00:00
test_scope_handling.py CMake: Fix test_scope_handling 2019-05-17 13:26:29 +00:00