summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubytest.rb')
-rw-r--r--rubytest.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/rubytest.rb b/rubytest.rb
index 20032e303e..b1006c420c 100644
--- a/rubytest.rb
+++ b/rubytest.rb
@@ -3,6 +3,12 @@
require 'rbconfig'
include Config
+unless File.exist? "./#{CONFIG['ruby_install_name']}"
+ print "./#{CONFIG['ruby_install_name']} is not found.\n"
+ print "Try `make' first, then `make test', please.\n"
+ exit 0
+end
+
if File.exist? CONFIG['LIBRUBY_SO']
case RUBY_PLATFORM
when /-hpux/