diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-13 10:53:13 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-13 10:00:45 +0000 |
commit | 800cd1d8b966fcedf696618e669848bd9350a6df (patch) | |
tree | 0ca13818bcc064414307e70565114f99216f56b6 /util | |
parent | 250ad9843ff14a42bdcc8937ac0bea12317fe622 (diff) |
pro2cmake: Fix broken is_manual_test usage
Amends 681e8b4ead432b2658b0be9f90454bbdbd80d1b1
Change-Id: I5ac8761de10d945b6ac78ba95a179209c80cb893
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 18ec08ad0a..2c12c7a4ae 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -249,7 +249,7 @@ def is_benchmark_project(project_file_path: str = "") -> bool: # relative to the repo source dir, then it must be a benchmark return project_relative_path.startswith("tests/benchmarks") -def is_manual_test(project_file_path: str = "") -> bool: +def is_manual_test_project(project_file_path: str = "") -> bool: qmake_conf_path = find_qmake_conf(project_file_path) qmake_conf_dir_path = os.path.dirname(qmake_conf_path) @@ -2817,7 +2817,7 @@ def write_binary(cm_fh: IO[str], scope: Scope, gui: bool = False, *, indent: int assert binary_name is_benchmark = is_benchmark_project(scope.file_absolute_path) - is_manual_test = is_manual_test(scope.file_absolute_path) + is_manual_test = is_manual_test_project(scope.file_absolute_path) is_qt_test_helper = "qt_test_helper" in scope.get("_LOADED") |