Commit 8d2b768f authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[ci] escape colon in yml by

parent ff6ef758
......@@ -36,10 +36,11 @@ def substituteAndWrite(mapping):
ymlFile.write(raw.substitute(**mapping))
commandIndentation = ' '*args['indentation']
with open(args['outfile'], 'w') as ymlFile:
def makeScriptString(commands):
commands = [' '*args['indentation'] + '- ' + comm for comm in commands]
commands = [commandIndentation + '- ' + comm for comm in commands]
return '\n'.join(commands)
# if no configuration is given, build and run all tests
......@@ -67,7 +68,9 @@ with open(args['outfile'], 'w') as ymlFile:
'touch TestMakefile',
'echo "include CMakeFiles/Makefile2" >> TestMakefile',
'echo "" >> TestMakefile',
'echo "build_selected_tests: {}" >> TestMakefile'
'|\n'
+ commandIndentation
+ ' "echo "build_selected_tests: {}" >> TestMakefile"'
.format(' '.join(targetNames)),
'make -j4 build_selected_tests']
testCommand = ['cd build-cmake',
......
Supports Markdown
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