cmake scripts: fix test_scope_handling

The file parameter for a new Scope got renamed to qmake_file.

Change-Id: I6cb9d010892f3e3132fac09eead1dbf45d6ba86d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Frederik Gladhorn 2019-10-10 10:02:22 +02:00
parent b42feb02ce
commit 2659d31d93

View File

@ -43,7 +43,7 @@ def _map_to_operation(**kwargs):
def _new_scope(*, parent_scope=None, condition='', **kwargs) -> Scope:
return Scope(parent_scope=parent_scope,
file='file1', condition=condition, operations=_map_to_operation(**kwargs))
qmake_file='file1', condition=condition, operations=_map_to_operation(**kwargs))
def _evaluate_scopes(scopes: ScopeList) -> ScopeList: