Commit Graph

5 Commits

Author SHA1 Message Date
Sage Weil
5df43e64ab mpi: substitute $TESTDIR
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-09 21:20:43 -08:00
Sam Lang
ace4cb07b2 Replace /tmp/cephtest/ with configurable path
Teuthology uses /tmp/cephtest/ as the scratch test directory for
a run.  This patch replaces /tmp/cephtest/ everywhere with a
per-run directory: {basedir}/{rundir} where {basedir} is a directory
configured in .teuthology.yaml (/tmp/cephtest if not specified),
and {rundir} is the name of the run, as given in --name.  If no name
is specified, {user}-{timestamp} is used.

To get the old behavior (/tmp/cephtest), set test_path: /tmp/cephtest
in .teuthology.yaml.

This change was modivated by #3782, which requires a test dir that
survives across reboots, but also resolves #3767.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-31 08:23:31 -06:00
Sam Lang
14730276b9 Fixes for syntax errors found by pyflakes.
This patch includes minor fixes to the teuthology
python code for syntax errors found by running
check-syntax.sh (which runs pyflakes on each file).

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-31 07:58:57 -06:00
Sam Lang
f8958463ae task/mpi: Allow working directory to be specified
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 10:07:42 -06:00
Sam Lang
1624812133 task: A task to setup mpi
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 09:34:03 -06:00