summaryrefslogtreecommitdiffstats
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-23 16:03:02 +0100
commitfb614e1b7e8c65c5978b0290806be2f93231cc8b (patch)
treea4c5909c0339a7c7cbbfdf9081ce91c332241000
parentbbb03b8c5d5b18772bacf6c78c5792e707fc5e74 (diff)
downloadlibguestfs-fb614e1b7e8c65c5978b0290806be2f93231cc8b.tar.gz
libguestfs-fb614e1b7e8c65c5978b0290806be2f93231cc8b.tar.xz
libguestfs-fb614e1b7e8c65c5978b0290806be2f93231cc8b.zip
ruby: Run tests one at a time, instead of in parallel.
(cherry picked from commit 8f30c3c3f8c063f7c5ff8c6154d881e07a820251)
-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