test: add skipped return result
authorHarry van Haaren <harry.van.haaren@intel.com>
Thu, 11 Jan 2018 17:50:34 +0000 (17:50 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Jan 2018 23:06:56 +0000 (00:06 +0100)
commitda0af48a67a545840be2d1ba4219f6236db0b1f5
treee034698fc0622029442c302a2fbf9b5c3b54a827
parent9b848774a5dc7b79c2dc5921583366725f374f64
test: add skipped return result

This commit allows a test to return "skipped", indicating
that it cannot be run. This is useful for PMDs which have
not been compiled due to the unavailability of dependencies,
or their explicit disabling in the build configuration.

The result printing is updated to correctly indicate if a
test has been skipped.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/commands.c
test/test/test.h