ruby: Use run --tests for tests.

This commit is contained in:
Richard W.M. Jones
2012-06-28 13:41:40 +01:00
parent 8439e97f76
commit e7d2d3cb89
2 changed files with 4 additions and 3 deletions

View File

@@ -49,9 +49,7 @@ if HAVE_RUBY
TESTS = run-bindtests run-ruby-tests
TESTS_ENVIRONMENT = \
RUBY=$(RUBY) \
$(top_builddir)/run --test
TESTS_ENVIRONMENT = $(top_builddir)/run --test
all: $(generator_built)
$(RAKE) build

3
run.in
View File

@@ -71,6 +71,9 @@ else
fi
export PYTHONPATH
# For Ruby.
export RUBY=@RUBY@
# For Java.
export JAVA=@JAVA@
export CLASSPATH="$b/java:$b/java/t:$b/java/libguestfs-@VERSION@.jar"