X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ruby%2Frun-ruby-tests;h=643bff97f85239f544a6d6dce1a20b47f3a5c903;hp=6bf898b7552d54919db6820b4366c22a87830aa9;hb=641ccab6c3b17f1c94676eab99e8baa9cddf5a0b;hpb=0c463dd0aa962c405b1be32c925acf9891c96bfc diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests index 6bf898b..643bff9 100755 --- a/ruby/run-ruby-tests +++ b/ruby/run-ruby-tests @@ -18,4 +18,10 @@ 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