diff --git a/run-regression.rb b/run-regression.rb index 66bf473..5a15a1e 100755 --- a/run-regression.rb +++ b/run-regression.rb @@ -247,9 +247,15 @@ while /^-/ =~ ARGV[0] end end -ENV["PATH"] = (File.expand_path("t/bin") + - Config::CONFIG["PATH_SEPARATOR"] + - ENV["PATH"]) +path_dirs = [ File.expand_path("t/bin") ] +if RUBY_PLATFORM =~ /mswin/ + path_dirs.unshift File.expand_path("t/bin/windows") +end + +ENV["PATH"] = [ + path_dirs, + ENV["PATH"] +].join(Config::CONFIG["PATH_SEPARATOR"]) files = ARGV.empty? ? Dir.glob("t/*.rb") : ARGV rd = RegressionData.new(files) diff --git a/src/clines.cpp b/src/clines.cpp new file mode 100644 index 0000000..cd9be83 --- /dev/null +++ b/src/clines.cpp @@ -0,0 +1,11 @@ + +#include + +int +main(int argc, char* argv[]) +{ + for (int i=1; i