Skip to content

Commit

Permalink
Added restart and disabled rcov for now.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 4139]
  • Loading branch information
zenspider committed Aug 16, 2008
1 parent 37fc7e2 commit bb438f3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .autotest
@@ -1,5 +1,7 @@
# -*- ruby -*-

require 'autotest/restart'

Autotest.add_hook :initialize do |at|
at.extra_files << "../../ParseTree/dev/test/pt_testcase.rb"
at.libs << ":../../ParseTree/dev/lib:../../ParseTree/dev/test"
Expand All @@ -21,6 +23,10 @@ Autotest.add_hook :initialize do |at|
%w(TestEnvironment TestStackState).each do |klass|
at.extra_class_map[klass] = "test/test_ruby_parser_extras.rb"
end

%w(TestRubyParser TestParseTree).each do |klass| # HACK
at.extra_class_map[klass] = "test/test_ruby_parser.rb"
end
end

Autotest.add_hook :run_command do |at|
Expand All @@ -33,6 +39,6 @@ class Autotest
end
end if ENV['ONENINE']

require 'autotest/rcov'
Autotest::RCov.command = 'rcov_info'
# require 'autotest/rcov'
# Autotest::RCov.command = 'rcov_info'
# Autotest::RCov.pattern = 'test/test_ruby_lexer.rb'

0 comments on commit bb438f3

Please sign in to comment.