aboutsummaryrefslogtreecommitdiff
path: root/slave
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-07-14 21:04:44 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-07-14 21:04:44 +0530
commitf56f8624a2ef3cd13a4348bf3d00d316033e6022 (patch)
treed8f758926cf787181fd8cd15f54a3599514fa7ea /slave
parentWhoops, jobtagedir should be relative to TMPDIR (diff)
downloadautotua-f56f8624a2ef3cd13a4348bf3d00d316033e6022.tar.gz
autotua-f56f8624a2ef3cd13a4348bf3d00d316033e6022.tar.bz2
autotua-f56f8624a2ef3cd13a4348bf3d00d316033e6022.zip
Define a default module ('job') for which_tests.py . Document it too.
Document http_proxy too
Diffstat (limited to 'slave')
-rw-r--r--slave/README5
-rwxr-xr-xslave/which_tests.py3
2 files changed, 7 insertions, 1 deletions
diff --git a/slave/README b/slave/README
index d956bd3..72586d8 100644
--- a/slave/README
+++ b/slave/README
@@ -1,4 +1,7 @@
- Run scripts/init-autotua-tmpdirs.sh
-- Use test_modules.py to test autotua-slave
+- Use test_modules.sh to test autotua-slave
+ * Specify which module to run inside which_tests.py
+ by defining modules = <list> . (default is fine)
- Everything should preferably be run as root
- Need *atleast* Python 2.5
+- Export http_proxy etc variables for proxy support (git etc won't work)
diff --git a/slave/which_tests.py b/slave/which_tests.py
index 8b4a21e..34013a1 100755
--- a/slave/which_tests.py
+++ b/slave/which_tests.py
@@ -12,6 +12,9 @@ import os.path as osp
from autotua import chroot, fetch, sync
tmpdir = '/tmp'
+# Default test (tests everything)
+modules = ['job']
+# All tests:
#modules = ['job', 'fetch', 'sync', 'chroot']
if 'fetch' in modules: