[Libguestfs] [PATCH 1/2] Revert "ruby: Run tests one at a time, instead of in parallel."

Pino Toscano ptoscano at redhat.com
Tue Feb 23 10:51:50 UTC 2016


It seems the default behaviour of rake is to run tests sequentially, and
not in parallel (there are separate gems to achieve that behaviour).

Hence just invoke "rake test" to run all the available tests at once.

This reverts commit 8f30c3c3f8c063f7c5ff8c6154d881e07a820251.
---
 ruby/run-ruby-tests | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests
index ac18ea3..d69e9ea 100755
--- a/ruby/run-ruby-tests
+++ b/ruby/run-ruby-tests
@@ -18,10 +18,4 @@
 
 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 t/tc_*.rb; do
-    echo $RAKE test "$@" TEST="$f"
-    $RAKE test "$@" TEST="$f"
-done
+$RAKE test "$@"
-- 
2.5.0




More information about the Libguestfs mailing list