sched: initial import
[dpdk.git] / app / test / commands.c
index 92bf88b..c7ac1e4 100755 (executable)
@@ -167,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");
@@ -199,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 = {