Commit 2cdf3e30 authored by Sandro Knauß's avatar Sandro Knauß Committed by Ben Cooksley

Match changes to the Jenkins log format.

Differential Revision: https://phabricator.kde.org/D19220
parent 4fc1a6ff
Pipeline #1107 skipped with stage
...@@ -304,10 +304,10 @@ foundLibraries = [] ...@@ -304,10 +304,10 @@ foundLibraries = []
# Search in the build log for the Installing/Up-to-date lines where we install the <name>Config.cmake files. # Search in the build log for the Installing/Up-to-date lines where we install the <name>Config.cmake files.
# From this we get a complete List of installed libraries. # From this we get a complete List of installed libraries.
cmakeConfig = re.compile("^-- (Installing|Up-to-date): .*/([^/]*)Config\.cmake$") cmakeConfig = re.compile("-- (Installing|Up-to-date): .*/([^/]*)Config\.cmake$")
with open(arguments.buildLog, encoding='utf-8') as log: with open(arguments.buildLog, encoding='utf-8') as log:
for line in log.readlines(): for line in log.readlines():
match = cmakeConfig.match(line) match = cmakeConfig.search(line)
if match: if match:
foundLibrary = Library( match.group(2), accSettings ) foundLibrary = Library( match.group(2), accSettings )
foundLibraries.append(foundLibrary) foundLibraries.append(foundLibrary)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment