diff --git a/tests/system/shared/hook_utils.py b/tests/system/shared/hook_utils.py index 1ef5502865d..eb1ebf8ad27 100644 --- a/tests/system/shared/hook_utils.py +++ b/tests/system/shared/hook_utils.py @@ -148,7 +148,7 @@ def __getMkspecFromQmake__(qmakeCall): QmakeConfPath = getOutputFromCmdline("%s -query QMAKE_MKSPECS" % qmakeCall).strip() for tmpPath in QmakeConfPath.split(os.pathsep): tmpPath = tmpPath + os.sep + "default" + os.sep +"qmake.conf" - result = __getMkspecFromQMakeConf__(tmpPath, True) + result = __getMkspecFromQMakeConf__(tmpPath) if result != None: return result.strip() test.warning("Could not find qmake.conf inside provided QMAKE_MKSPECS path",