test: fix autotest handling of skipped tests
authorThinh Tran <thinhtr@linux.vnet.ibm.com>
Mon, 2 Mar 2020 20:41:32 +0000 (15:41 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 25 Mar 2021 15:24:27 +0000 (16:24 +0100)
commitc8c3cfd699a117cf8c070059a606ea12ab030cbb
treea067f8769a22ab279fac373c286de7d8ca539b7f
parent4db9587bbf726a658807089e0af162208e9bd2ee
test: fix autotest handling of skipped tests

- When running the default configuration of autotest of the make test
  it'd take 900 seconds (15 minutes) for the script TIMEOUT and marks
  Failed for a specific device test that is not supported on the
  system under test.
- Adding the checking for those tests, print out as "Skipped [Not Run]"
  quickly return and continue for next test

Fixes: da0af48a67a5 ("test: add skipped return result")
Cc: stable@dpdk.org
Signed-off-by: Thinh Tran <thinhtr@linux.vnet.ibm.com>
Reviewed-by: David Christensen <drc@linux.vnet.ibm.com>
app/test/autotest_test_funcs.py