Permalink
Browse files

- Fixed .autotest for minitest

[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 5395]
  • Loading branch information...
zenspider committed Aug 18, 2009
1 parent e0883e5 commit 76421c8bf5ee5bd38610facd52ad82f12f93a488
Showing with 4 additions and 2 deletions.
  1. +4 −2 .autotest
View
@@ -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, _|

0 comments on commit 76421c8

Please sign in to comment.