From: Loic Dachary Date: Sat, 18 Oct 2014 22:41:40 +0000 (-0700) Subject: tests: remove vstart_wrapped_tests.sh X-Git-Tag: v0.89~46^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c3b51ef5faa856dda57cc0f00b6a6f0b46e42e2d;p=ceph.git tests: remove vstart_wrapped_tests.sh Listing tests to be run in a single script does not take advantage of parallel runs in make. The vstart_wrapper.sh script is reworked and made less specialized and let the caller decide which daemons to run via CEPH_START and does not enforce the number of deamons of each time. It no longer uses stop.sh to avoid killing the osd/mon/mds that are unrelated to the tests. http://tracker.ceph.com/issues/9815 Fixes: #9815 Signed-off-by: Loic Dachary --- diff --git a/src/test/vstart_wrapped_tests.sh b/src/test/vstart_wrapped_tests.sh deleted file mode 100755 index d80863f5d2225..0000000000000 --- a/src/test/vstart_wrapped_tests.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2013 Cloudwatt -# -# Author: Loic Dachary -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Library Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Library Public License for more details. -# -code=0 -echo "Run unit tests that need a cluster, using vstart.sh" -while read line ; do - echo "================ START ================" - echo "$line" - echo "=======================================" - if ! test/vstart_wrapper.sh $line ; then - code=1 - fi - echo "================ STOP =================" -done <