summaryrefslogtreecommitdiffstats
path: root/ruby
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-21 16:39:04 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-21 16:39:04 +0100
commit8f30c3c3f8c063f7c5ff8c6154d881e07a820251 (patch)
tree1adbe54451cddd3fb22b88a14fa7552a29fd9870 /ruby
parentea6209198026080a9d9e588283e83aa9c4e2f177 (diff)
downloadlibguestfs-8f30c3c3f8c063f7c5ff8c6154d881e07a820251.tar.gz
libguestfs-8f30c3c3f8c063f7c5ff8c6154d881e07a820251.tar.xz
libguestfs-8f30c3c3f8c063f7c5ff8c6154d881e07a820251.zip
ruby: Run tests one at a time, instead of in parallel.
Diffstat (limited to 'ruby')
-rwxr-xr-xruby/run-ruby-tests8
1 files changed, 7 insertions, 1 deletions
diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests
index 6bf898b7..643bff97 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