Skip to content

Commit

Permalink
put p14_to_16 outputs in the right p4_14_outputs subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Dodd committed Feb 24, 2017
1 parent 1c15fbb commit 37224a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backends/p4test/run-p4-sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ def process_file(options, argv):
dirname = os.path.dirname(options.p4filename)
if "_samples/" in dirname:
expected_dirname = dirname.replace("_samples/", "_samples_outputs/", 1)
elif "p4_14/" in dirname:
expected_dirname = dirname.replace("p4_14/", "p4_14_outputs/", 1)
elif "_errors/" in dirname:
expected_dirname = dirname.replace("_errors/", "_errors_outputs/", 1)
else:
Expand Down

0 comments on commit 37224a8

Please sign in to comment.