X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=app%2Ftest%2Fcommands.c;h=a1530265c505b0db462f13efa17db2432528beaa;hp=ba2f83dd0dbf75fa3818ab7dc9e2544946856d39;hb=e495f5435524;hpb=38a901702fdfde778d50b2f123c562a66c394f87 diff --git a/app/test/commands.c b/app/test/commands.c index ba2f83dd0d..a1530265c5 100644 --- a/app/test/commands.c +++ b/app/test/commands.c @@ -2,6 +2,7 @@ * BSD LICENSE * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. + * Copyright(c) 2014 6WIND S.A. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -186,6 +187,10 @@ static void cmd_autotest_parsed(void *parsed_result, if (!strcmp(res->autotest, "acl_autotest")) ret = test_acl(); #endif /* RTE_LIBRTE_ACL */ +#ifdef RTE_LIBRTE_KVARGS + if (!strcmp(res->autotest, "kvargs_autotest")) + ret |= test_kvargs(); +#endif /* RTE_LIBRTE_KVARGS */ if (ret == 0) printf("Test OK\n"); @@ -225,6 +230,9 @@ cmdline_parse_token_string_t cmd_autotest_autotest = "timer_perf_autotest#" #ifdef RTE_LIBRTE_PMD_RING "ring_pmd_autotest#" +#endif +#ifdef RTE_LIBRTE_KVARGS + "kvargs_autotest#" #endif "common_autotest");