From e0205f1793315cfece4fa61200048ea2eda4aa13 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Tue, 10 Dec 2019 13:16:02 +0100 Subject: [PATCH] Add special condition replacement for libclang in qttools Change-Id: Icf35a2e39307e6239d8704824105bdc6b9081ffd Reviewed-by: Alexandru Croitor --- util/cmake/configurejson2cmake.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index f986b65acb..9f93ecafa6 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -317,6 +317,9 @@ def map_condition(condition): condition = re.sub("\\s+", " ", mapped_condition) condition = condition.strip() + # Special case for WrapLibClang in qttools + condition = condition.replace("TEST_libclang.has_clangcpp", "TEST_libclang") + if has_failed: condition += " OR FIXME"