d70ab606a6
This commit reworks the return value handling of the timeout ticks test. This feature is not mandatory for a pmd, the eventdev layer returns -ENOTSUP if the PMD doesn't implement the function. The test is modified to check if the return value is -ENOTSUP, and return -ENOTSUP to the test framework, which can handle "unsupported" tests since patch[1]. As such, this test will function correctly if the patchset linked below is applied, it fails if the patch is not applied and the PMD doesn't the timeout ticks function. Note it does not depend (as a compile time dependency) on the patchset linked below. [1] http://dpdk.org/dev/patchwork/patch/21979/ Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>