summaryrefslogtreecommitdiffstats
path: root/ruby/run-ruby-tests
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-16 22:13:20 +0100
committerRichard Jones <rjones@redhat.com>2009-04-16 22:13:20 +0100
commita5f68bd57d887c8c8818dbb92a9f8b7643f67827 (patch)
treefc9004be7e62c8cadb54eeff1b7ad5b763ff4073 /ruby/run-ruby-tests
parent5a6da98c943be987441673a590c151f15573b6cc (diff)
downloadlibguestfs-a5f68bd57d887c8c8818dbb92a9f8b7643f67827.tar.gz
libguestfs-a5f68bd57d887c8c8818dbb92a9f8b7643f67827.tar.xz
libguestfs-a5f68bd57d887c8c8818dbb92a9f8b7643f67827.zip
Ruby bindings.
Diffstat (limited to 'ruby/run-ruby-tests')
-rwxr-xr-xruby/run-ruby-tests22
1 files changed, 22 insertions, 0 deletions
diff --git a/ruby/run-ruby-tests b/ruby/run-ruby-tests
new file mode 100755
index 00000000..9e8908cc
--- /dev/null
+++ b/ruby/run-ruby-tests
@@ -0,0 +1,22 @@
+#!/bin/sh -
+# libguestfs Ruby bindings
+# Copyright (C) 2009 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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.
+
+export LD_LIBRARY_PATH=../src/.libs
+export LIBGUESTFS_PATH=$(cd .. && pwd)
+rake test "$@"
+