[dpdk-dev] [PATCH v4 09/10] test/ipsec: introduce functional test

Akhil Goyal akhil.goyal at nxp.com
Wed Dec 19 16:53:58 CET 2018



On 12/14/2018 9:53 PM, Konstantin Ananyev wrote:
> +static struct unit_test_suite ipsec_testsuite  = {
> +	.suite_name = "IPsec NULL Unit Test Suite",
> +	.setup = testsuite_setup,
> +	.teardown = testsuite_teardown,
> +	.unit_test_cases = {
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_crypto_inb_burst_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_crypto_outb_burst_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_inline_inb_burst_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_inline_outb_burst_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_replay_inb_inside_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_replay_inb_outside_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_replay_inb_repeat_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_replay_inb_inside_burst_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_crypto_inb_burst_2sa_null_null_wrapper),
> +		TEST_CASE_ST(ut_setup, ut_teardown,
> +			test_ipsec_crypto_inb_burst_2sa_4grp_null_null_wrapper),
> +		TEST_CASES_END() /**< NULL terminate unit test array */
> +	}
> +};
> +
test case for lookaside proto and inline proto case should also be added 
here.


More information about the dev mailing list