Skip to content

Commit fa84b1a

Browse files
committed
Improve O2 command generation
1 parent fb434e0 commit fa84b1a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

codeHF/workflows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ options:
88
- "--resources-monitoring 2"
99
local: # used for every workflow
1010
- "-b"
11-
- "--configuration json://$JSON"
11+
- "--configuration json://\"$JSON\""
1212
# - "--min-failure-level error"
1313

1414
workflows:

exec/make_command_o2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ def main():
291291
command += "| \\\n" + string_wf + " "
292292
if not command:
293293
msg_fatal("Nothing to do!")
294-
# Remove the leading "| \\\n".
295-
command = command[4:]
294+
# Remove the leading "| \\\n" and the trailing " ".
295+
command = command[4:-1]
296296
# Append performance profiling options.
297297
if perf:
298298
opt_perf = "perf record -F 99 -g --call-graph dwarf --user-callchains"

0 commit comments

Comments
 (0)