Message ID | 1452285014-60320-28-git-send-email-christophe.milard@linaro.org |
---|---|
State | Superseded |
Headers | show |
diff --git a/test/validation/common/odp_cunit_common.h b/test/validation/common/odp_cunit_common.h index 8dbbb9f..37e8e8c 100644 --- a/test/validation/common/odp_cunit_common.h +++ b/test/validation/common/odp_cunit_common.h @@ -44,7 +44,7 @@ static inline void odp_cunit_test_missing(void) { } /* A test case that is unconditionally inactive. Its name will be registered * with CUnit but it won't be executed and will be reported as inactive in * the result summary. */ -#define ODP_TEST_INFO_INACTIVE(test_func) \ +#define ODP_TEST_INFO_INACTIVE(test_func, args...) \ {#test_func, odp_cunit_test_missing, odp_cunit_test_inactive} /* A test case that may be marked as inactive at runtime based on the
When marking a test which has a precondition as temporarly inactive, it feels better to be able to keep the precondition function: ODP_TEST_INFO_CONDITIONAL(send_failure, check_send_failure) will be marked as inactive by: ODP_TEST_INFO_INACTIVE(send_failure, check_send_failure) rather than: ODP_TEST_INFO_INACTIVE(send_failure) Remarking the test as active later on is then only a matter of changing back the macro name. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- test/validation/common/odp_cunit_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)