Permalink
Browse files

Changed mini_rspec to show failures unless being run by autotest.

Added dir_entry.rb to .gitignore.
  • Loading branch information...
brixen committed Dec 5, 2007
1 parent 0f56b05 commit 3afe61bd78aa9e850f081b83ca2c478ae297bda1
Showing with 5 additions and 2 deletions.
  1. +1 −1 .autotest
  2. +1 −0 .gitignore
  3. +3 −1 spec/mini_rspec.rb
View
@@ -9,7 +9,7 @@ class Autotest
alias :old_make_test_cmd :make_test_cmd
def ruby
- "USE_MSPEC=1 shotgun/rubinius"
+ "USE_MSPEC=1 AUTOTEST=1 shotgun/rubinius"
end
def make_test_cmd files_to_test
View
@@ -37,6 +37,7 @@ attic/externals/syd-parser/pkg
kernel/.load_order.txt
kernel/core/dir.rb
+kernel/core/dir_entry.rb
lib/etc.rb
lib/kernel.rb
lib/rbconfig.rb
View
@@ -383,7 +383,9 @@ def describe(msg)
$stderr.puts "creating default SpecRunner with excludes"
@runner = SpecRunner.new DottedReporter.new
- @runner.except "spec/exclude.txt", "all-exclude.txt~"
+ if ENV["AUTOTEST"]
+ @runner.except "spec/exclude.txt", "all-exclude.txt~"
+ end
at_exit {
puts

0 comments on commit 3afe61b

Please sign in to comment.