diff options
author | murphy <murphy@rubychan.de> | 2008-01-12 18:04:27 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-01-12 18:04:27 +0000 |
commit | 2ec1b9399186f32d36d549eb1f915f9ab4e61647 (patch) | |
tree | 51c2070b0487ddaa3747d10aaf083b256c410e39 /rake_tasks | |
parent | e127b7d57b06554e708752bbbc2a85e833633c26 (diff) | |
download | coderay-2ec1b9399186f32d36d549eb1f915f9ab4e61647.tar.gz |
- 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...)
Diffstat (limited to 'rake_tasks')
-rw-r--r-- | rake_tasks/benchmark.rake | 2 | ||||
-rw-r--r-- | rake_tasks/test.rake | 6 |
2 files changed, 4 insertions, 4 deletions
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'
|