Skip to content

Commit 0bfdef3

Browse files
committed
Fix scripts/replay.py script
by ignoring everything except `ALS.IN` and `ALS.OUT` traces. Fixes #1257
1 parent 1886408 commit 0bfdef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/json_transformations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def traces_to_test(inout_file, project_root=None, input_only=False):
3737
in_re = re.compile(b' *([^{]*) ({.*})')
3838
for line in f.readlines():
3939
m = in_re.match(line)
40-
if m:
40+
if m and m.group(1) in (b"[ALS.IN]", b"[ALS.OUT]"):
4141
is_input = m.group(1) == b"[ALS.IN]"
4242
cleaned = m.group(2)
4343
if project_root:

0 commit comments

Comments
 (0)