projects
/
rtos
/
tinyara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819ec67
)
net:tc add dup testcases
author
kang
<pilseob.kang@samsung.com>
Wed, 20 Sep 2017 08:55:04 +0000
(17:55 +0900)
committer
kang
<pilseob.kang@samsung.com>
Thu, 21 Sep 2017 23:25:36 +0000
(08:25 +0900)
apps/examples/testcase/le_tc/network/Kconfig
patch
|
blob
|
history
apps/examples/testcase/le_tc/network/Make.defs
patch
|
blob
|
history
apps/examples/testcase/le_tc/network/network_tc_main.c
patch
|
blob
|
history
diff --git
a/apps/examples/testcase/le_tc/network/Kconfig
b/apps/examples/testcase/le_tc/network/Kconfig
index
43adc03
..
77bdb4a
100644
(file)
--- a/
apps/examples/testcase/le_tc/network/Kconfig
+++ b/
apps/examples/testcase/le_tc/network/Kconfig
@@
-36,6
+36,7
@@
config TC_NET_ALL
select TC_NET_INET
select TC_NET_ETHER
select TC_NET_NETDB
+ select TC_NET_DUP
config TC_NET_SOCKET
bool "socket() api"
@@
-121,6
+122,9
@@
config TC_NET_NETDB
bool "netdb() api"
default n
+config TC_NET_DUP
+ bool "dup() api"
+ default n
endif #EXAMPLES_TESTCASE_NETWORK
diff --git
a/apps/examples/testcase/le_tc/network/Make.defs
b/apps/examples/testcase/le_tc/network/Make.defs
index
6b31e7b
..
3d1fc5a
100644
(file)
--- a/
apps/examples/testcase/le_tc/network/Make.defs
+++ b/
apps/examples/testcase/le_tc/network/Make.defs
@@
-119,6
+119,9
@@
endif
ifeq ($(CONFIG_TC_NET_NETDB),y)
CSRCS +=tc_net_netdb.c
endif
+ifeq ($(CONFIG_TC_NET_DUP),y)
+CSRCS +=tc_net_dup.c
+endif
# Include network build support
diff --git
a/apps/examples/testcase/le_tc/network/network_tc_main.c
b/apps/examples/testcase/le_tc/network/network_tc_main.c
index
5aded54
..
6427fcf
100644
(file)
--- a/
apps/examples/testcase/le_tc/network/network_tc_main.c
+++ b/
apps/examples/testcase/le_tc/network/network_tc_main.c
@@
-110,6
+110,9
@@
int network_tc_main(int argc, char *argv[])
#ifdef CONFIG_TC_NET_NETDB
net_netdb_main();
#endif
+#ifdef CONFIG_TC_NET_DUP
+ net_dup_main();
+#endif
printf("\n=== TINYARA Network TC COMPLETE ===\n");
printf("\t\tTotal pass : %d\n\t\tTotal fail : %d\n", total_pass, total_fail);