Skip to contentSkip to conversation

app/test: fix pdcp short mac test

dpdk-dev Applied Fan Zhang 3 participants 3 messages Sep 16, 2021 – Sep 24, 2021

lore
Share & tools
lore

Fan Zhang

author
#0 lore raw
Fixes c24489e479fd ("test/crypto: support PDCP short MAC-I")

This patch fixes the pdcp short mac-i test by removing them from snow3g and kasumi test suite and move to pdcp test suite. This is to prevent incorrect failure for crypto device not support pdcp.

---
 app/test/test_cryptodev.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
app/test/test_cryptodev.c +1 -5
index 16d770a17f..d19482c20a 100644
@@ -8886,6 +8886,7 @@ test_PDCP_PROTO_all(void)
 	status += test_PDCP_PROTO_SGL_oop_128B_32B();
 	status += test_PDCP_SDAP_PROTO_encap_all();
 	status += test_PDCP_SDAP_PROTO_decap_all();
+	status += test_PDCP_PROTO_short_mac();
 
 	if (status)
 		return TEST_FAILED;
@@ -14083,8 +14084,6 @@ static struct unit_test_suite cryptodev_snow3g_testsuite  = {
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_snow3g_encryption_test_case_5),
 
-		TEST_CASE_ST(ut_setup, ut_teardown,
-			test_PDCP_PROTO_short_mac),
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_snow3g_encryption_test_case_1_oop),
 		TEST_CASE_ST(ut_setup, ut_teardown,
@@ -14324,9 +14323,6 @@ static struct unit_test_suite cryptodev_kasumi_testsuite  = {
 			test_kasumi_decryption_test_case_5),
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_kasumi_decryption_test_case_1_oop),
-
-		TEST_CASE_ST(ut_setup, ut_teardown,
-			test_PDCP_PROTO_short_mac),
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_kasumi_cipher_auth_test_case_1),
 
Signature · 1 line
2.25.1
Acked-by
#1 lore raw
Quoted 8 lines

Subject: [EXT] [dpdk-dev] app/test: fix pdcp short mac test

External Email

----------------------------------------------------------------------

Fixes c24489e479fd ("test/crypto: support PDCP short MAC-I")
Quoted 8 lines

This patch fixes the pdcp short mac-i test by removing them from snow3g and kasumi test suite and move to pdcp test suite.
This is to prevent incorrect failure for crypto device not support pdcp.

---
 app/test/test_cryptodev.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
Applied
#2 lore raw
Quoted 5 lines
Quoted 5 lines
Fixes c24489e479fd ("test/crypto: support PDCP short MAC-I")
Quoted 7 lines
Quoted 1 line

This patch fixes the pdcp short mac-i test by removing them from snow3g

and

Quoted 4 lines

kasumi test suite and move to pdcp test suite.
This is to prevent incorrect failure for crypto device not support pdcp.

Applied to dpdk-next-crypto

Thanks.