Sha256: 600ea6fc596a6ddd086c77d592065442a2acfe72c43e250a73fc4ba6d880ea59

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

# -*- ruby -*-

require 'autotest/restart'

Autotest.add_hook :initialize do |at|
  at.order = :random
  at.testlib = "minitest/autorun"

  at.extra_files << "../../ParseTree/dev/test/pt_testcase.rb"
  at.extra_files << "../../ParseTree/dev/lib/unified_ruby.rb"
  at.libs << ":../../sexp_processor/dev/lib:../../ParseTree/dev/lib:../../ParseTree/dev/test"

  (1..4).each do |n|
    at.extra_class_map["TestRuby2Ruby#{n}"] = "test/test_ruby2ruby.rb"
  end

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

if ENV['RCOV'] then
  require 'autotest/rcov'
  Autotest::RCov.command = 'rcov_info'
  Autotest::RCov.pattern = 'test/test_ruby2ruby.rb'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby2ruby-1.2.5 .autotest