From 8f30c3c3f8c063f7c5ff8c6154d881e07a820251 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 21 Oct 2010 16:39:04 +0100 Subject: [PATCH] ruby: Run tests one at a time, instead of in parallel. --- ruby/run-ruby-tests | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 1.8.3.1