From 20309d504068c089bf853f78c55b738e78406862 Mon Sep 17 00:00:00 2001 From: Intel Date: Wed, 18 Sep 2013 12:00:00 +0200 Subject: [PATCH] app/test: various updates Signed-off-by: Intel --- app/test/autotest_data.py | 4 ++-- app/test/test.c | 1 + app/test/test.h | 2 ++ app/test/test_sched.c | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/test/autotest_data.py b/app/test/autotest_data.py index d98d7114c7..a48c1e075e 100644 --- a/app/test/autotest_data.py +++ b/app/test/autotest_data.py @@ -55,7 +55,7 @@ parallel_test_group_list = [ { "Prefix": "group_1", - "Memory" : "2", + "Memory" : all_sockets(8), "Tests" : [ { @@ -282,7 +282,7 @@ parallel_test_group_list = [ }, { "Prefix": "group_6", - "Memory" : all_sockets(600), + "Memory" : all_sockets(620), "Tests" : [ { diff --git a/app/test/test.c b/app/test/test.c index f586aeaa7c..606fc55abf 100644 --- a/app/test/test.c +++ b/app/test/test.c @@ -94,6 +94,7 @@ do_recursive_call(void) if (strcmp(actions[i].env_var, recursive_call) == 0) return (actions[i].action_fn)(); } + printf("ERROR - missing action to take for %s\n", recursive_call); return -1; } #endif diff --git a/app/test/test.h b/app/test/test.h index 463707d61a..1ce0c31abd 100644 --- a/app/test/test.h +++ b/app/test/test.h @@ -43,6 +43,8 @@ extern const char *prgname; +#include + extern cmdline_parse_ctx_t main_ctx[]; int main(int argc, char **argv); diff --git a/app/test/test_sched.c b/app/test/test_sched.c index c127d64a71..e87a1cad8d 100644 --- a/app/test/test_sched.c +++ b/app/test/test_sched.c @@ -88,6 +88,7 @@ static struct rte_sched_port_params port_param = { .name = "port_0", .socket = 0, /* computed */ .rate = 0, /* computed */ + .mtu = 1522, .frame_overhead = RTE_SCHED_FRAME_OVERHEAD_DEFAULT, .n_subports_per_port = 1, .n_pipes_per_subport = 4096, -- 2.20.1