]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
schedule_suite.sh: allow partial 'suite' names
authorSage Weil <sage@inktank.com>
Thu, 29 Aug 2013 04:54:26 +0000 (21:54 -0700)
committerSage Weil <sage@inktank.com>
Thu, 29 Aug 2013 04:54:26 +0000 (21:54 -0700)
Mangle the name (/ -> :) in the run name.  Separate base from
relative path so that the job names don't include a full path.

Signed-off-by: Sage Weil <sage@inktank.com>
schedule_suite.sh

index 909b1ab840b2a1496ba16a90dab93b1426b23f2e..4b8b206422c745c86297a4cb9049410caffd4f0c 100755 (executable)
@@ -118,12 +118,14 @@ fi
 
 ##
 stamp=`date +%Y-%m-%d_%H:%M:%S`
-name=`whoami`"-$stamp-$suite-$ceph-$kernel-$flavor-$mtype"
+nicesuite=`echo $suite | sed 's/\//:/g'`
+name=`whoami`"-$stamp-$nicesuite-$ceph-$kernel-$flavor-$mtype"
 
 echo "name $name"
 
 ./virtualenv/bin/teuthology-suite -v $fn \
-    --collections ~/src/ceph-qa-suite/suites/$suite/* \
+    --base ~/src/ceph-qa-suite/suites \
+    --collections $suite \
     --email $email \
     --timeout 36000 \
     --name $name \