Skip to content

Commit

Permalink
Changed mini_rspec to show failures unless being run by autotest.
Browse files Browse the repository at this point in the history
Added dir_entry.rb to .gitignore.
  • Loading branch information
brixen committed Dec 5, 2007
1 parent 0f56b05 commit 3afe61b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .autotest
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion spec/mini_rspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3afe61b

Please sign in to comment.