File: .autotest

package info (click to toggle)
libparsetree-ruby 3.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 420 kB
  • ctags: 140
  • sloc: ruby: 5,940; sh: 163; makefile: 11
file content (15 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- ruby -*-

require 'autotest/restart'

Autotest.add_hook :initialize do |at|
  at.libs << ":../../sexp_processor/dev/lib"
  at.extra_files << "test/pt_testcase.rb"

  at.extra_class_map["TestRawParseTree"] = "test/test_parse_tree.rb"
  at.extra_class_map["R2RTestCase"] = "test/test_parse_tree_extensions.rb"

  at.add_mapping(/pt_testcase/) do |f, _|
    at.files_matching(/test_.*rb$/)
  end
end