summaryrefslogtreecommitdiffstats
path: root/ext/runtest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/runtest.rb')
-rw-r--r--ext/runtest.rb11
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
+