aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-04-22 17:41:28 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-04-22 18:54:13 -0700
commitf28bd9557c669cd63c31704202a46dd83f0a4102 (patch)
tree4ec4423cfbcc9414982e0e72adda354c69cce541 /activesupport/Rakefile
parent5c4ba6e3fc66a779c28a70b8d7bde14b49e7c36c (diff)
downloadrails-f28bd9557c669cd63c31704202a46dd83f0a4102.tar.gz
rails-f28bd9557c669cd63c31704202a46dd83f0a4102.tar.bz2
rails-f28bd9557c669cd63c31704202a46dd83f0a4102.zip
Fix dependencies revealed by testing in isolation
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r--activesupport/Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile
index f7fd52c7d8..a4e8200a43 100644
--- a/activesupport/Rakefile
+++ b/activesupport/Rakefile
@@ -21,6 +21,12 @@ Rake::TestTask.new { |t|
t.verbose = true
t.warning = true
}
+task :isolated_test do
+ Dir['test/**/*_test.rb'].all? do |file|
+ ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
+ system(ruby, '-Ilib:test', file)
+ end or raise "Failures"
+end
# Create compressed packages
dist_dirs = [ "lib", "test"]