File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -571,8 +571,8 @@ def help
571
571
jt tag spec/ruby/language tag failing specs in this directory
572
572
jt tag spec/ruby/language/while_spec.rb tag failing specs in this file
573
573
jt tag all spec/ruby/language tag all specs in this file, without running them
574
- jt untag spec/ruby/language untag passing specs in this directory
575
- jt untag spec/ruby/language/while_spec.rb untag passing specs in this file
574
+ jt untag ... untag passing specs
575
+ jt purge ... remove tags without specs
576
576
jt mspec ... run MSpec with the TruffleRuby configuration and custom arguments
577
577
jt metrics alloc [--json] ... how much memory is allocated running a program
578
578
jt metrics instructions ... how many CPU instructions are used to run a program
@@ -1275,6 +1275,9 @@ def test_specs(command, *args)
1275
1275
when 'untag'
1276
1276
options += %w[ --del fails --pass ]
1277
1277
command = 'tag'
1278
+ when 'purge'
1279
+ options += %w[ --purge ]
1280
+ command = 'tag'
1278
1281
when 'tag_all'
1279
1282
options += %w[ --unguarded --all --dry-run --add fails ]
1280
1283
command = 'tag'
@@ -1372,6 +1375,10 @@ def tag_all(*args)
1372
1375
end
1373
1376
private :tag_all
1374
1377
1378
+ def purge ( path , *args )
1379
+ test_specs ( 'purge' , path , *args )
1380
+ end
1381
+
1375
1382
def untag ( path , *args )
1376
1383
puts
1377
1384
puts "WARNING: untag is currently not very reliable - run `jt test #{ [ path , *args ] * ' ' } ` after and manually annotate any new failures"
You can’t perform that action at this time.
0 commit comments