Not sure if empty output / no line message is an error
This commit is contained in:
parent
6c770567ab
commit
85fee75077
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ cd $P4_PROJECT_DIR/nf_sume_sdnet_ip/SimpleSumeSwitch && ./vivado_sim.bash 2>&1 |
|
|||
expected_line=$(grep ^expected LOG | sed -e 's/.*= <//' -e 's/.*= (//')
|
||||
actual_line=$(grep ^actual LOG | sed -e 's/.*= <//' -e 's/.*= (//')
|
||||
|
||||
# if [ -z "$expected_line" ]; then
|
||||
# echo "Empty packet grep -- probably broken - aborting"
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
if [ "$expected_line" != "$actual_line" ]; then
|
||||
echo packet mismatch
|
||||
|
|
Loading…
Reference in a new issue