pass on slice & node tests - skip help programs - re-enable ping & synacks
Thierry Parmentelat [Fri, 23 Jan 2009 07:34:36 +0000 (07:34 +0000)]
qaapi/qa/tests/node/AA-README.txt [new file with mode: 0644]
qaapi/qa/tests/node/_busyloop.py [moved from qaapi/qa/tests/node/busyloop.py with 100% similarity]
qaapi/qa/tests/node/node_cpu_sched.py
qaapi/qa/tests/node/ping.pl [moved from qaapi/qa/tests/node/ping.pl.hide with 100% similarity]
qaapi/qa/tests/node/synacks.pl [moved from qaapi/qa/tests/node/synacks.pl.hide with 100% similarity]
qaapi/qa/tests/node/util-vserver-enabled.help [new file with mode: 0644]
qaapi/qa/tests/node/util-vserver-enabled.py [moved from qaapi/qa/tests/node/baseconfig.py with 100% similarity]
qaapi/qa/tests/slice/AA-README.txt [new file with mode: 0644]
system/utils.py

diff --git a/qaapi/qa/tests/node/AA-README.txt b/qaapi/qa/tests/node/AA-README.txt
new file mode 100644 (file)
index 0000000..33042d1
--- /dev/null
@@ -0,0 +1,15 @@
+All scripts in this directory that
+- start with a letter
+- end with .pl .py or .sh
+get triggered in the root context of a test node as part of the system/ test suite
+
+As far as possible, would you please 
+- pick up a meaningful name
+- and provide a corresponding .help file
+
+===
+The list of extensions that are considered (.pl .py or .sh) is defined
+in system/TestNode.py
+
+If for any reason a given script needs to be turned off, it is
+recommended to simply svn rename it and add '.hide' to its name
index cbb9663..fb39349 100755 (executable)
@@ -25,7 +25,7 @@ class Spinner(Thread):
     def __init__(self, test):
         Thread.__init__(self)
 
-        cmd = '/usr/bin/time ./busyloop.py 15'
+        cmd = '/usr/bin/time ./_busyloop.py 15'
         if test.share:
             flags = '--idle-time'
         else:
diff --git a/qaapi/qa/tests/node/util-vserver-enabled.help b/qaapi/qa/tests/node/util-vserver-enabled.help
new file mode 100644 (file)
index 0000000..4af3e30
--- /dev/null
@@ -0,0 +1 @@
+This script checks that util-vserver is configured to start with chkconfig
diff --git a/qaapi/qa/tests/slice/AA-README.txt b/qaapi/qa/tests/slice/AA-README.txt
new file mode 100644 (file)
index 0000000..75cf3a7
--- /dev/null
@@ -0,0 +1,15 @@
+All scripts in this directory that
+- start with a letter
+- end with .pl .py or .sh
+get triggered in a slice as part of the system/ test suite
+
+As far as possible, would you please 
+- pick up a meaningful name
+- and provide a corresponding .help file
+
+===
+The list of extensions that are considered (.pl .py or .sh) is defined
+in system/TestSliver.py
+
+If for any reason a given script needs to be turned off, it is
+recommended to simply svn rename it and add '.hide' to its name
index df34cd9..ba1226a 100644 (file)
@@ -55,7 +55,8 @@ def locate_sanity_scripts (message,path,extensions):
     print message,'searching',path,'for extensions',extensions
     scripts=[]
     for ext in extensions:
-        scripts += glob.glob (path+'/*.'+ext)
+        # skip helper programs
+        scripts += glob.glob (path+'/[a-zA-Z]*.'+ext)
     return scripts
     
 # quick & dirty - should probably use the parseroption object instead