update copyright date to 2013
[dpdk.git] / app / test / autotest_data.py
index 7a15b35..c29531e 100644 (file)
@@ -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.
@@ -291,6 +294,25 @@ parallel_test_group_list = [
                },
        ]
 },
+{
+       "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,
+               },
+       ]
+},
 ]
 
 # tests that should not be run when any other tests are running