test: use env variable to run tests
authorHarry van Haaren <harry.van.haaren@intel.com>
Thu, 11 Jan 2018 17:50:33 +0000 (17:50 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Jan 2018 23:04:37 +0000 (00:04 +0100)
commit9b848774a5dc7b79c2dc5921583366725f374f64
tree926bbdba91b4dcb52c71d44970951229b18237d7
parentc2c5a249d93b246c2492f8b4d862f27cd73853e2
test: use env variable to run tests

With this patch the test binary checks the DPDK_TEST
environment variable and if set, the contents of the var
are inserted on the test app command line, and run.

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