devargs: introduce API and test
[dpdk.git] / app / test / commands.c
index a153026..7595b4c 100644 (file)
@@ -178,6 +178,8 @@ static void cmd_autotest_parsed(void *parsed_result,
                ret = test_common();
        if (!strcmp(res->autotest, "ivshmem_autotest"))
                ret = test_ivshmem();
+       if (!strcmp(res->autotest, "devargs_autotest"))
+               ret = test_devargs();
 #ifdef RTE_LIBRTE_PMD_RING
        if (!strcmp(res->autotest, "ring_pmd_autotest"))
                ret = test_pmd_ring();
@@ -223,6 +225,7 @@ cmdline_parse_token_string_t cmd_autotest_autotest =
                        "red_autotest#meter_autotest#sched_autotest#"
                        "memcpy_perf_autotest#kni_autotest#"
                        "pm_autotest#ivshmem_autotest#"
+                       "devargs_autotest#"
 #ifdef RTE_LIBRTE_ACL
                        "acl_autotest#"
 #endif