qt5base-lts/util/cmake/tests/data
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
..
comment_scope.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
complex_assign.pro CMake: pro2cmake.py: Handle values with () in assignments 2019-02-27 16:03:20 +00:00
complex_condition.pro CMake: pro2cmake.py: Handle complex conditions 2019-02-28 08:06:49 +00:00
complex_values.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
contains_scope.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
definetest.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else2.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else3.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else4.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else5.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else6.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else7.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else8.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
else.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
escaped_value.pro CMake: pro2cmake.py: Make \$\$QT_FOO work in assignments 2019-02-28 08:08:17 +00:00
for.pro CMake: pro2cmake.py: Fix parsing of for loops 2019-02-28 08:08:00 +00:00
function_if.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
include.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
lc_with_comment.pro Fix parsing qmake assignments that have comments in between 2019-05-17 13:31:03 +00:00
lc.pro CMake: pro2cmake.py: Simplify code and add test for line continuation 2019-02-28 08:08:41 +00:00
load.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
multiline_assign.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
quoted.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
single_line_for.pro CMake: pro2cmake.py: Handle for loops without block 2019-02-28 08:08:30 +00:00
sql.pro CMake: pro2cmake.py: Fix parsing of Line continuation before end of file 2019-02-28 08:08:08 +00:00
standardpaths.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
unset.pro Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00