X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ruby%2Frun-ruby-tests;h=643bff97f85239f544a6d6dce1a20b47f3a5c903;hp=8232b29a781ad52d8a5243e246e63c013a4100a0;hb=8f30c3c3f8c063f7c5ff8c6154d881e07a820251;hpb=a1e8cdf2a254c5eddaf525cd7c34e4c937690204 diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests index 8232b29..643bff9 100755 --- a/ruby/run-ruby-tests +++ b/ruby/run-ruby-tests @@ -16,7 +16,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -export LD_LIBRARY_PATH=../src/.libs -export LIBGUESTFS_PATH=../appliance -rake test "$@" +set -e +# 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