diff options
author | murphy <murphy@rubychan.de> | 2009-02-18 19:39:26 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-02-18 19:39:26 +0000 |
commit | df8bccf987e636d442e43f8c704d750f6519bd3f (patch) | |
tree | 392bef3e25fc876b94bb5cc552033f3d9e24d5d3 /rake_tasks | |
parent | 89c23fd2685f0a99993877ad7a0a576d56e75c62 (diff) | |
download | coderay-df8bccf987e636d442e43f8c704d750f6519bd3f.tar.gz |
Fixed a bug in for_redcloth.rb (closes #87).
* No more closing PRE tags in RedCloth output.
* Added j, j19, and test:functional:all tasks.
Diffstat (limited to 'rake_tasks')
-rw-r--r-- | rake_tasks/test.rake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rake_tasks/test.rake b/rake_tasks/test.rake index 20f32d8..2d05d3c 100644 --- a/rake_tasks/test.rake +++ b/rake_tasks/test.rake @@ -9,6 +9,22 @@ namespace :test do ruby "./test/functional/suite.rb" end + namespace :functional do + desc 'run all functional tests on all supported Ruby platforms' + task :all do + $stdout.sync = true + for task in %w(test:functional 19 test:functional jruby test:functional ee test:functional) + if task == 'test:functional' + puts "\n\nTesting with #{RUBY}..." + Rake::Task['test:functional'].reenable + Rake::Task['test:functional'].invoke + else + Rake::Task[task].invoke + end + end + end + end + desc 'run all scanner tests' task :scanners do ruby "./test/scanners/suite.rb" |