Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed mini_rspec to show failures unless being run by autotest.

Added dir_entry.rb to .gitignore.
  • Loading branch information...
commit 3afe61bd78aa9e850f081b83ca2c478ae297bda1 1 parent 0f56b05
@brixen brixen authored
Showing with 5 additions and 2 deletions.
  1. +1 −1  .autotest
  2. +1 −0  .gitignore
  3. +3 −1 spec/mini_rspec.rb
View
2  .autotest
@@ -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
1  .gitignore
@@ -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
4 spec/mini_rspec.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.