""" Find && execute && publish results of all test. "All in one" function. """
# This is needed for Qt finding our QML modules. The current code makes our
# two existing API tests (WK1 API and WK2 UI process API) work correctly.
- qml_import_path = self._options.path + "../../../imports"
- qml_import_path += ":" + self._options.path + "../../../../../imports"
+ qml_import_path = self._options.path + "../../../../imports"
+ qml_import_path += ":" + self._options.path + "../../../../../../imports"
os.putenv("QML_IMPORT_PATH", qml_import_path)
+ path = os.getenv("PATH")
+ path += ":" + self._options.path + "../../../../../../bin"
+ os.putenv("PATH", path)
self.debug("Searching executables...")
tests_executables = self.find_tests_paths(self._options.path)
self.debug("Found: %s", len(tests_executables))