Permalink
Browse files

Merge contrib tests with all tests. Now there is only `rake test`

  • Loading branch information...
1 parent a4cceae commit fc94e50fc622abfdd77751302f308920ad66b8b3 @drbrain drbrain committed May 21, 2011
Showing with 5 additions and 27 deletions.
  1. +5 −27 Rakefile
  2. 0 test/{contrib → }/test_sys.rb
View
@@ -62,30 +62,10 @@ task :default => :test
# Test Tasks ---------------------------------------------------------
-# Common Abbreviations ...
-
-task :tu => "test:all"
-task :tc => "test:contribs"
-task :test => "test:all"
-
-module TestFiles
- UNIT = FileList['test/test_*.rb']
- CONTRIB = FileList['test/contrib/test*.rb']
- ALL = UNIT + CONTRIB
-end
-
-namespace :test do
- Rake::TestTask.new(:all) do |t|
- t.test_files = TestFiles::ALL
- t.libs << "."
- t.warning = true
- end
-
- Rake::TestTask.new(:contribs) do |t|
- t.test_files = TestFiles::CONTRIB
- t.libs << "."
- t.warning = true
- end
+Rake::TestTask.new do |t|
+ t.test_files = FileList['test/test_*.rb']
+ t.libs << "."
+ t.warning = true
end
begin
@@ -127,9 +107,7 @@ rescue LoadError
end
directory 'testdata'
-["test:all", "test:contrib"].each do |t|
- task t => ['testdata']
-end
+task :test => ['testdata']
# CVS Tasks ----------------------------------------------------------
File renamed without changes.

0 comments on commit fc94e50

Please sign in to comment.