summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-13 09:51:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-13 09:51:02 +0000
commit1b47fa1097c709be518a5071a7ec0e5271d45a00 (patch)
tree62f7220ccb1211efc9e1bc9b69c28448173c03bf /rubytest.rb
parent1c940e6cdd3e59430d57a42a9d5989bc5ad85270 (diff)
2000-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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/