X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ruby%2Frun-ruby-tests;h=c618241f8d39a515253be7a7dd832f77ef14407d;hb=82aec3fd43d3300bb8e60fe325486451defd5c45;hp=6bf898b7552d54919db6820b4366c22a87830aa9;hpb=0c463dd0aa962c405b1be32c925acf9891c96bfc;p=libguestfs.git diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests index 6bf898b..c618241 100755 --- a/ruby/run-ruby-tests +++ b/ruby/run-ruby-tests @@ -14,8 +14,14 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. set -e -rake test "$@" +# Run them one at a time, otherwise rake runs them in parallel (which +# is bound to fail because they all use a single test image file). + +for f in tests/tc_*.rb; do + echo $RAKE test "$@" TEST="$f" + $RAKE test "$@" TEST="$f" +done