From 1b47fa1097c709be518a5071a7ec0e5271d45a00 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 13 Jun 2000 09:51:02 +0000 Subject: 2000-06-13 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- rubytest.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rubytest.rb') 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/ -- cgit v1.2.3