X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ruby%2Frun-ruby-tests;h=e21899a5ddd6c5ff2f435321e450969209e6f0da;hb=f23352aefd96dc873111e5e5d55ea22b30c3e0ad;hp=3bf557768db4ceb6958cfd54d920ea40b972a8b5;hpb=89f060b5cfecc11558174b7e0b3867f2b8d9c135;p=libguestfs.git diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests index 3bf5577..e21899a 100755 --- a/ruby/run-ruby-tests +++ b/ruby/run-ruby-tests @@ -14,9 +14,14 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -export LD_LIBRARY_PATH=../src/.libs -export LIBGUESTFS_PATH=$(cd .. > /dev/null && pwd) -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