Thread (245 messages) 245 messages, 11 authors, 2022-02-08

[dpdk-dev] [PATCH v5 07/12] app/test: temporarily "skip" one cmdline test case

From: Jie Zhou <hidden>
Date: 2021-10-14 04:53:50
Subsystem: the rest · Maintainer: Linus Torvalds

cmdline tests pass except one failure at the test_cmdline_socket_fns
test case with error: failed to open /dev/null for reading!

Temporarily "skip" this case while enable all other passing cases.

Issue is tracked internally and will add the corresponding case on
Windows in future.

Signed-off-by: Jie Zhou <redacted>
---
 app/test/test_cmdline_lib.c | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c
index 86a5b78d70..1ff5c0d7e6 100644
--- a/app/test/test_cmdline_lib.c
+++ b/app/test/test_cmdline_lib.c
@@ -140,6 +140,9 @@ test_cmdline_vt100_fns(void)
 static int
 test_cmdline_socket_fns(void)
 {
+#ifdef RTE_EXEC_ENV_WINDOWS
+	return 0;
+#else
 	cmdline_parse_ctx_t ctx;
 	struct cmdline *cl;
 
@@ -179,6 +182,7 @@ test_cmdline_socket_fns(void)
 	printf("Error: function accepted null parameter!\n");
 	cmdline_free(cl);
 	return -1;
+#endif
 }
 
 static int
-- 
2.32.0.windows.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help