diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-05-24 12:48:08 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-05-24 12:48:08 +0200 |
commit | 8d7b94b711b4995fc75809c4357930026e2ff3e4 (patch) | |
tree | 3c0ad686c2c6afe37918b194bfa4fbf3b0b002dd | |
parent | 087b0c626572be7a1c1697b0c35b31f898fe8f66 (diff) |
Included load test for OB in rb
-rwxr-xr-x | openbabel.sh | 2 | ||||
-rw-r--r-- | test-ob-rb.rb | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/openbabel.sh b/openbabel.sh index 3257146..1eda925 100755 --- a/openbabel.sh +++ b/openbabel.sh @@ -92,6 +92,8 @@ if ! $OB_DONE ; then cmd="make" && run_cmd "$cmd" "Make" cmd="cp openbabel.so $OB_DEST_BINDINGS" && run_cmd "$cmd" "Install" cmd="ln -s $OB_DEST_BINDINGS/openbabel.so $RUBY_DEST/lib/ruby/site_ruby/1.8/`uname -m`-linux/" && run_cmd "$cmd" "Link" + . "`pwd`/utils.sh" + cmd="ruby ob-test-rb.rb" && run_cmd "$cmd" "Load" fi cd "$DIR" diff --git a/test-ob-rb.rb b/test-ob-rb.rb new file mode 100644 index 0000000..62fda1e --- /dev/null +++ b/test-ob-rb.rb @@ -0,0 +1 @@ +require 'openbabel' |