test/test_coderunner.rb in coderunner-0.18.5 vs test/test_coderunner.rb in coderunner-1.0.0
- old
+ new
@@ -7,11 +7,11 @@
def assert_system(string)
assert(system(string), "System Command: '#{string}'")
end
end
-unless $cpp_command = ENV['CPP']
- raise "Please specify the environment variable CPP (the C++ compiler)"
+unless $cpp_command = ENV['CXX']
+ raise "Please specify the environment variable CXX (the C++ compiler)"
end
$ruby_command = "#{RbConfig::CONFIG['bindir']}/#{RbConfig::CONFIG['ruby_install_name']}"
$coderunner_command = "#{$ruby_command} -I lib/ lib/coderunner.rb"