summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubytest.rb')
-rw-r--r--rubytest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubytest.rb b/rubytest.rb
index a2380e6f4c..c25155bb67 100644
--- a/rubytest.rb
+++ b/rubytest.rb
@@ -3,7 +3,7 @@
require 'rbconfig'
include Config
-unless File.exist? "./#{CONFIG['ruby_install_name']}"
+unless File.exist? "./#{CONFIG['ruby_install_name']}#{CONFIG['EXEEXT']}"
print "./#{CONFIG['ruby_install_name']} is not found.\n"
print "Try `make' first, then `make test', please.\n"
exit 0