summaryrefslogtreecommitdiff
path: root/tool/rubytest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/rubytest.rb')
-rwxr-xr-xtool/rubytest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rubytest.rb b/tool/rubytest.rb
index 08eada44b8..a19ce9271a 100755
--- a/tool/rubytest.rb
+++ b/tool/rubytest.rb
@@ -1,6 +1,6 @@
#! ./miniruby
-exit if defined?(CROSS_COMPILING)
+exit if defined?(CROSS_COMPILING) and CROSS_COMPILING
ruby = ENV["RUBY"]
unless ruby
load './rbconfig.rb'