diff options
author | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:20:42 +0100 |
---|---|---|
committer | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:20:42 +0100 |
commit | 5bcbd1d5d3e74f07220cbda4014d408f97447e63 (patch) | |
tree | 7e36b879937b2817ca0800fc3959693d8cd57b48 /ext/runtest.rb | |
parent | 697ed85e893ab9039bf52a9bcd0ecadf1af9b654 (diff) | |
download | mmap-ruby-5bcbd1d5d3e74f07220cbda4014d408f97447e63.zip mmap-ruby-5bcbd1d5d3e74f07220cbda4014d408f97447e63.tar.gz |
mmap-0.2.5
Diffstat (limited to 'ext/runtest.rb')
-rw-r--r-- | ext/runtest.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/runtest.rb b/ext/runtest.rb new file mode 100644 index 0000000..5ad822c --- /dev/null +++ b/ext/runtest.rb @@ -0,0 +1,11 @@ +#!/usr/bin/ruby +#-- +# don't use it's for gem +$LOAD_PATH.each do |p| + if p.gsub!(%r{/ext\Z}, '/test') && + File.exists?(p + '/mmapt.rb') + load(p + '/mmapt.rb') + break + end +end + |