Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.392 kB
6d840a5 @jbarnette Fix Autotest for MiniTest.
jbarnette authored
1 require "autotest/restart"
35fb005 @tenderlove speed improvement
authored
2 require 'rbconfig'
ec8ae73 @tenderlove initial commit
authored
3
6d840a5 @jbarnette Fix Autotest for MiniTest.
jbarnette authored
4 Autotest.add_hook :initialize do |at|
6903751 @tenderlove ranges round trip
authored
5 at.find_directories = ARGV unless ARGV.empty?
6d840a5 @jbarnette Fix Autotest for MiniTest.
jbarnette authored
6 at.testlib = "minitest/autorun"
6efdbae @tenderlove testing sequence attributes
authored
7 end
ec8ae73 @tenderlove initial commit
authored
8
6efdbae @tenderlove testing sequence attributes
authored
9 Autotest.add_hook :run_command do |at|
10 at.unit_diff = 'cat'
35fb005 @tenderlove speed improvement
authored
11 system "ruby -S rake compile"
6efdbae @tenderlove testing sequence attributes
authored
12 end
13
14 Autotest.add_hook :ran_command do |at|
15 File.open('/tmp/autotest.txt', 'wb') { |f|
16 f.write(at.results.join)
17 }
18 end
Something went wrong with that request. Please try again.