Skip to content

Commit

Permalink
- Fixed .autotest for minitest
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 5395]
  • Loading branch information
zenspider committed Aug 18, 2009
1 parent e0883e5 commit 76421c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .autotest
@@ -1,16 +1,18 @@
# -*- ruby -*-

require 'autotest/restart'
require 'autotest/rcov'
require 'autotest/rcov' if ENV['RCOV']

Autotest.add_hook :initialize do |at|
at.extra_files << "../../ParseTree/dev/test/pt_testcase.rb"
at.libs << ":../../ParseTree/dev/lib:../../ParseTree/dev/test:../../sexp_processor/dev/lib"
at.libs << ":../../ParseTree/dev/test:../../sexp_processor/dev/lib"
at.add_exception 'unit'
at.add_exception 'coverage'
at.add_exception 'coverage.info'
at.add_exception '.diff'

at.libs << ':../../minitest/dev/lib'
at.testlib = "minitest/autorun"
at.unit_diff = "unit_diff -u -b"

at.add_mapping(/^lib\/.*\.y$/) do |f, _|
Expand Down

0 comments on commit 76421c8

Please sign in to comment.