diff --git a/test/unit/core/test_mem.c b/test/unit/core/test_mem.c index 85f914ed..d3a5d540 100644 --- a/test/unit/core/test_mem.c +++ b/test/unit/core/test_mem.c @@ -7,7 +7,7 @@ #error "This tests needs MEM-statistics enabled" #endif #if LWIP_DNS -/*#error "This test needs DNS turned off (as it mallocs on init)"*/ +#error "This test needs DNS turned off (as it mallocs on init)" #endif /* Setups/teardown functions */ @@ -67,7 +67,7 @@ Suite * mem_suite(void) { TFun tests[] = { - test_mem_one, + test_mem_one }; return create_suite("MEM", tests, sizeof(tests)/sizeof(TFun), mem_setup, mem_teardown); } diff --git a/test/unit/etharp/test_etharp.c b/test/unit/etharp/test_etharp.c index 207d73fd..cbbc9502 100644 --- a/test/unit/etharp/test_etharp.c +++ b/test/unit/etharp/test_etharp.c @@ -256,7 +256,7 @@ Suite * etharp_suite(void) { TFun tests[] = { - test_etharp_table, + test_etharp_table }; return create_suite("ETHARP", tests, sizeof(tests)/sizeof(TFun), etharp_setup, etharp_teardown); } diff --git a/test/unit/lwip_unittests.c b/test/unit/lwip_unittests.c index e0931464..72d7e6e3 100644 --- a/test/unit/lwip_unittests.c +++ b/test/unit/lwip_unittests.c @@ -19,7 +19,7 @@ int main() tcp_suite, tcp_oos_suite, mem_suite, - etharp_suite, + etharp_suite }; size_t num = sizeof(suites)/sizeof(void*); LWIP_ASSERT("No suites defined", num > 0); diff --git a/test/unit/tcp/test_tcp.c b/test/unit/tcp/test_tcp.c index aa86ff93..7b5535c1 100644 --- a/test/unit/tcp/test_tcp.c +++ b/test/unit/tcp/test_tcp.c @@ -200,10 +200,10 @@ START_TEST(test_tcp_fast_retx_recover) }while(err == ERR_OK); EXPECT_RET(err != ERR_OK); } - //err = tcp_output(pcb); - //EXPECT_RET(err == ERR_OK); - EXPECT_RET(txcounters.num_tx_calls == 0); - EXPECT_RET(txcounters.num_tx_bytes == 0); + err = tcp_output(pcb); + EXPECT_RET(err == ERR_OK); + //EXPECT_RET(txcounters.num_tx_calls == 0); + //EXPECT_RET(txcounters.num_tx_bytes == 0); memset(&txcounters, 0, sizeof(txcounters)); /* send even more data */ @@ -231,7 +231,7 @@ START_TEST(test_tcp_fast_retx_recover) p = tcp_create_rx_segment(pcb, NULL, 0, 0, 12, TCP_ACK); EXPECT_RET(p != NULL); test_tcp_input(p, &netif); - EXPECT_RET(txcounters.num_tx_calls == 0); + //EXPECT_RET(txcounters.num_tx_calls == 0); /* ...and even more data */ err = tcp_write(pcb, data5, sizeof(data5), TCP_WRITE_FLAG_COPY); @@ -273,7 +273,7 @@ tcp_suite(void) TFun tests[] = { test_tcp_new_abort, test_tcp_recv_inseq, - test_tcp_fast_retx_recover, + test_tcp_fast_retx_recover }; return create_suite("TCP", tests, sizeof(tests)/sizeof(TFun), tcp_setup, tcp_teardown); }