From 2ec1b9399186f32d36d549eb1f915f9ab4e61647 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 12 Jan 2008 18:04:27 +0000 Subject: - fixed a bug in coderay_suite (break outside of loop?) - made test and bench tasks run with all implementations - included term/ansicolor in lib (will need in some day anyway) as svn:external (this also means that tests will be colorful on all rubys) - incremented CodeRay version number (we're near...) --- rake_tasks/benchmark.rake | 2 +- rake_tasks/test.rake | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'rake_tasks') diff --git a/rake_tasks/benchmark.rake b/rake_tasks/benchmark.rake index e14537a..423a66a 100644 --- a/rake_tasks/benchmark.rake +++ b/rake_tasks/benchmark.rake @@ -1,6 +1,6 @@ desc 'Do a benchmark' task :benchmark do - system "#{RUBY} -wIlib bench/bench.rb ruby div 1000" + ruby "-Ilib bench/bench.rb ruby div 1000" end task :bench => :benchmark diff --git a/rake_tasks/test.rake b/rake_tasks/test.rake index 4e245c0..1033565 100644 --- a/rake_tasks/test.rake +++ b/rake_tasks/test.rake @@ -1,17 +1,17 @@ namespace :test do desc 'run all sample tests' task :samples do - system "#{RUBY} -w ./sample/suite.rb" + ruby "./sample/suite.rb" end desc 'run functional tests' task :functional do - system "#{RUBY} -w ./test/functional/suite.rb" + ruby "./test/functional/suite.rb" end desc 'run all scanner tests' task :scanners do - system "#{RUBY} -w ./test/scanners/suite.rb" + ruby "./test/scanners/suite.rb" end desc 'clean test output files' -- cgit v1.2.1