Skip to content
Commit e4f1555f authored by Vincent Stehle's avatar Vincent Stehle
Browse files

test-ethernet: rework error handling



Align a bit more the error handling in test-ethernet with the other tests:

- Turn on `-eu -o pipefail' globally.
- Remove the custom error handler.
- In all the cases where ethernet-parser.py returns an error code, handle
  it explicitly with an `if' construct.

This should be more readable and allow to catch more (unexpected) errors.

Signed-off-by: Vincent Stehle's avatarVincent Stehlé <vincent.stehle@arm.com>
parent 0245ec56
Loading
Loading
Loading
Pipeline #14230 passed with stage
in 2 minutes and 47 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment