> From: Richardson, Bruce
> Sent: Thursday, December 21, 2017 10:15 AM
> To: [email protected]
> Cc: Van Haaren, Harry <[email protected]>; Richardson, Bruce
> <[email protected]>
> Subject: [PATCH 1/2] test/test: fix missed failures when running meson test
> 
> When using meson test, and/or the DPDK_TEST environment variable for
> running specific tests, the return value from the test binary was the value
> returned from the unit test runner function. However, not all tests use
> that unit test runner infrastructure - some are regular functions, and so
> the failure of those tests would not be recognised.
> 
> Fix this by setting the last_test_result value inside the command-line
> function that calls the individual test fns and that prints the "Test OK"
> or "Test Failure" messages.
> 
> Fixes: d79a9657a78c ("meson: add tests app to build")
> 
> Signed-off-by: Bruce Richardson <[email protected]>


Reviewed-by: Harry van Haaren <[email protected]>

Reply via email to