sched: initial import
[dpdk.git] / app / test / commands.c
old mode 100644 (file)
new mode 100755 (executable)
index 123f5b4..c7ac1e4
@@ -129,6 +129,8 @@ static void cmd_autotest_parsed(void *parsed_result,
                ret |= test_hash_perf();
        if (all || !strcmp(res->autotest, "lpm_autotest"))
                ret |= test_lpm();
+       if (all || !strcmp(res->autotest, "lpm6_autotest"))
+               ret |= test_lpm6();
        if (all || !strcmp(res->autotest, "cpuflags_autotest"))
                ret |= test_cpuflags();
        if (all || !strcmp(res->autotest, "cmdline_autotest"))
@@ -165,10 +167,18 @@ static void cmd_autotest_parsed(void *parsed_result,
                ret |= test_memcpy_perf();
        if (all || !strcmp(res->autotest, "func_reentrancy_autotest"))
                ret |= test_func_reentrancy();
+       if (all || !strcmp(res->autotest, "red_autotest"))
+               ret |= test_red();
+       if (all || !strcmp(res->autotest, "sched_autotest"))
+               ret |= test_sched();
+       if (all || !strcmp(res->autotest, "meter_autotest"))
+               ret |= test_meter();
        if (all || !strcmp(res->autotest, "pm_autotest"))
                ret |= test_pmac_pm();
        if (all || !strcmp(res->autotest, "acl_autotest"))
                ret |= test_pmac_acl();
+       if (all || !strcmp(res->autotest, "power_autotest"))
+               ret |= test_power();
 
        if (ret == 0)
                printf("Test OK\n");
@@ -189,6 +199,7 @@ cmdline_parse_token_string_t cmd_autotest_autotest =
                        "timer_autotest#malloc_autotest#"
                        "memcpy_autotest#hash_autotest#"
                        "lpm_autotest#debug_autotest#"
+                       "lpm6_autotest#debug_autotest#"
                        "errno_autotest#tailq_autotest#"
                        "string_autotest#multiprocess_autotest#"
                        "cpuflags_autotest#eal_flags_autotest#"
@@ -196,8 +207,9 @@ cmdline_parse_token_string_t cmd_autotest_autotest =
                        "version_autotest#eal_fs_autotest#"
                        "cmdline_autotest#func_reentrancy_autotest#"
                        "mempool_perf_autotest#hash_perf_autotest#"
+                       "red_autotest#meter_autotest#sched_autotest#"
                        "memcpy_perf_autotest#pm_autotest#"
-                       "acl_autotest#"
+                       "acl_autotest#power_autotest#"
                        "all_autotests");
 
 cmdline_parse_inst_t cmd_autotest = {