Skip to content

Commit

Permalink
[P4_Symbolic] Adding p4_symbolic/testdata/parser/sai_parser.p4 [Exten…
Browse files Browse the repository at this point in the history
…d IR proto and translation to support parsers.] (sonic-net#759)



Co-authored-by: kishanps <[email protected]>
Co-authored-by: jonathan-dilorenzo <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2024
1 parent 858313f commit 1027213
Show file tree
Hide file tree
Showing 4 changed files with 334 additions and 452 deletions.
7 changes: 7 additions & 0 deletions p4_symbolic/ir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ ir_parsing_test(
p4_program = "//p4_symbolic/testdata:conditional/table_hit_2.p4",
)

ir_parsing_test(
name = "sai_parser_test",
golden_file = "expected/sai_parser.txt",
p4_deps = ["//p4_symbolic/testdata:common/headers.p4"],
p4_program = "//p4_symbolic/testdata:parser/sai_parser.p4",
)

ir_parsing_test(
name = "hex_string_transition_test",
golden_file = "expected/hex_string_transition.txt",
Expand Down
Loading

0 comments on commit 1027213

Please sign in to comment.