Fix formatting for test data

Add missing f parameter and globbing expression.

Change-Id: I0eedb59e47537f9cf42a0b9d9471ddfc87ee48f2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
This commit is contained in:
Leander Beernaert 2019-09-19 16:01:09 +02:00
parent 7e91bd1f27
commit cd88c30ce3

View File

@ -2423,10 +2423,10 @@ def write_main_part(
if "*" in data:
cm_fh.write(
dedent(
"""
f"""\
{spaces(indent)}file(GLOB_RECURSE test_data_glob
{spaces(indent+1)}RELATIVE ${{CMAKE_CURRENT_SOURCE_DIR}}
{spaces(indent+1)}"{}")
{spaces(indent+1)}{data})
"""
)
)