Skip to content

Commit

Permalink
[P4_Symbolic] Modified conditional_sequence.smt2 (sonic-net#677)
Browse files Browse the repository at this point in the history
Co-authored-by: kheradmandG kheradmand@google.com
  • Loading branch information
VSuryaprasad-HCL authored Oct 30, 2024
1 parent 4e95a68 commit b5df62a
Show file tree
Hide file tree
Showing 5 changed files with 2,849 additions and 66 deletions.
6 changes: 6 additions & 0 deletions p4_symbolic/ir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ ir_parsing_test(
p4_program = "//p4_symbolic/testdata:set-invalid/set_invalid.p4",
)

ir_parsing_test(
name = "conditional_sequence_test",
golden_file = "expected/conditional_sequence.txt",
p4_program = "//p4_symbolic/testdata:conditional/conditional_sequence.p4",
)

ir_parsing_test(
name = "table_hit_1_test",
golden_file = "expected/table_hit_1.txt",
Expand Down
4 changes: 2 additions & 2 deletions p4_symbolic/ir/expected/conditional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,8 @@ conditionals {
operation: EQUALS
left {
field_value {
header_name: "ethernet"
field_name: "ether_type"
header_name: "standard_metadata"
field_name: "ingress_port"
}
}
right {
Expand Down
Loading

0 comments on commit b5df62a

Please sign in to comment.