Skip to content

Commit

Permalink
Skip new checks for P4-14 source files in run-bmv2-test.py
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Fingerhut <[email protected]>
  • Loading branch information
jafingerhut committed Oct 8, 2024
1 parent 693acd5 commit a9d664e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backends/bmv2/run-bmv2-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ def process_file(options, argv):

args = [binary, "-o", jsonfile] + options.compilerOptions
if "p4_14" in options.p4filename or "v1_samples" in options.p4filename:
args.extend(["--excludeFrontendPasses", "DuplicateHierarchicalNameCheck"])
args.extend(["--std", "p4-14"])
args.append(options.p4filename)
args.extend(argv)
Expand Down

0 comments on commit a9d664e

Please sign in to comment.