[dpdk-dev] [PATCH v2 1/2] test: use env variable to run test if set

Bruce Richardson bruce.richardson at intel.com
Wed Dec 20 12:47:36 CET 2017


On Wed, Dec 20, 2017 at 11:16:31AM +0000, Harry van Haaren wrote:
> This commit paves the way for the meson tests in the next
> patch. 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.
> 
> This allows testing of various different unit tests without
> manual interaction with the RTE>> test prompt, instead automating
> it using the DPDK_TEST environment variable.
> 
> If the DPDK_TEST env variable is not set, or has zero lenght,
> the test app behaves as normal.
> 
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> ---
While I still prefer using cmdline args to environment, this works ok.

Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list