app: add a test on mbuf alignment
[dpdk.git] / app / test / autotest_data.py
old mode 100644 (file)
new mode 100755 (executable)
index 7a15b35..a322ce7
@@ -2,7 +2,7 @@
 
 #   BSD LICENSE
 # 
-#   Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
+#   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
 #   All rights reserved.
 # 
 #   Redistribution and use in source and binary forms, with or without 
@@ -39,7 +39,10 @@ from autotest_test_funcs import *
 
 # quick and dirty function to find out number of sockets
 def num_sockets():
-       return len(glob("/sys/devices/system/node/node*"))
+       result = len(glob("/sys/devices/system/node/node*"))
+       if result == 0:
+               return 1
+       return result
 
 # multiply given number for all sockets
 # e.g. 32 becomes 32,32 or 32,32,32,32 etc.
@@ -67,13 +70,25 @@ parallel_test_group_list = [
                 "Command" :    "debug_autotest",
                 "Func" :       default_autotest,
                 "Report" :     None,
-               },
+               },      
                {
                 "Name" :       "Errno autotest",
                 "Command" :    "errno_autotest",
                 "Func" :       default_autotest,
                 "Report" :     None,
                },
+               {
+                "Name" :       "Meter autotest",
+                "Command" :    "meter_autotest",
+                "Func" :       default_autotest,
+                "Report" :     None,
+               },
+               {
+                "Name" :       "Common autotest",
+                "Command" :    "common_autotest",
+                "Func" :       default_autotest,
+                "Report" :     None,
+               },      
                {
                 "Name" :       "Dump log history",
                 "Command" :    "dump_log_history",
@@ -262,7 +277,7 @@ parallel_test_group_list = [
 },
 {
        "Prefix":       "group_6",
-       "Memory" :      all_sockets(588),
+       "Memory" :      all_sockets(600),
        "Tests" :       
        [
                {
@@ -288,7 +303,38 @@ parallel_test_group_list = [
                 "Command" :    "prefetch_autotest",
                 "Func" :       default_autotest,
                 "Report" :     None,
+                },
+               {
+                "Name" :"Red autotest",
+                "Command" : "red_autotest",
+                "Func" :default_autotest,
+                "Report" :None,
+                },
+       ]
+},
+{
+       "Prefix" :      "group_7",
+       "Memory" :      "400",
+       "Tests" :
+       [
+               {
+                "Name" :       "Access list control autotest",
+                "Command" :    "acl_autotest",
+                "Func" :       default_autotest,
+                "Report" :     None,
+               },
+               {
+                "Name" :       "Pattern match autotest",
+                "Command" :    "pm_autotest",
+                "Func" :       default_autotest,
+                "Report" :     None,
                },
+                {
+                "Name" :"Sched autotest",
+                "Command" : "sched_autotest",
+                "Func" :default_autotest,
+                "Report" :None,
+                },
        ]
 },
 ]
@@ -296,6 +342,19 @@ parallel_test_group_list = [
 # tests that should not be run when any other tests are running
 non_parallel_test_group_list = [
 
+{
+       "Prefix" :      "kni",
+       "Memory" :      "512",
+       "Tests" :
+       [
+               {
+                "Name" :       "KNI autotest",
+                "Command" :    "kni_autotest",
+                "Func" :       default_autotest,
+                "Report" :     None,
+               },
+       ]
+},
 {
        "Prefix":       "mempool_perf",
        "Memory" :      all_sockets(256),
@@ -341,6 +400,32 @@ non_parallel_test_group_list = [
                },
        ]
 },
+{
+       "Prefix" :      "power",
+       "Memory" :      all_sockets(512),
+       "Tests" :
+       [
+               {
+                "Name" :       "Power autotest",
+                "Command" :    "power_autotest",
+                "Func" :       default_autotest,
+                "Report" :     None,
+               },
+       ]
+},
+{
+       "Prefix" :      "lpm6",
+       "Memory" :      "512",
+       "Tests" :
+       [
+               {
+                 "Name" :       "LPM6 autotest",
+                 "Command" :    "lpm6_autotest",
+                 "Func" :       default_autotest,
+                 "Report" :     None,
+                },
+       ]
+},
 {
        "Prefix":       "ring_perf",
        "Memory" :      all_sockets(512),