Skip to content
Browse files
[Truffle] JT: jt test fast [*ARGS]
* 21s versus 74s while skipping only 32 examples out of 4056 for all specs.
* 5 vs 43s for language specs.
  • Loading branch information
eregon committed Jan 14, 2015
1 parent 65ce1eb commit e8ca19d
Showing 1 changed file with 7 additions and 1 deletion.
@@ -35,6 +35,7 @@ def help
puts 'jt clean clean'
puts 'jt rebuild clean and build'
puts 'jt test run all specs'
puts 'jt test fast run all specs except sub-processes, GC, sleep, ...'
puts 'jt test spec/ruby/language run specs in this directory'
puts 'jt test spec/ruby/language/while_spec.rb run specs in this file'
puts 'jt tag spec/ruby/language tag failing specs in this directory'
@@ -61,8 +62,13 @@ def rebuild

def test(*args)
options = %w[--excl-tag fails]
if args.first == 'fast'
options += %w[--excl-tag slow]
args = [':language', ':core'] if args.empty?
mspec 'run', '--excl-tag', 'fails', *args
mspec 'run', *options, *args

def tag(path, *args)

0 comments on commit e8ca19d

Please sign in to comment.