Megatest

View Ticket
Login
Ticket Hash: 6d871cd4ccccfcff05fe55f3dec45708cf267d37
Title: remove-keep not honoring testpatt
Status: Open Type: Code_Defect
Severity: Critical Priority:
Subsystem: Resolution:
Last Modified: 2024-03-25 15:24:40
Version Found In: 1.80/29
Description:
If I run:

megatest -remove-keep 1 -target %/% -runname % -testpatt init,exec -status FAIL -actions print,remove-runs -age 1h -precmd echo

I get:

1227/all:

megatest -remove-runs -target 1227/all -runname 22025.0621 -testpatt %

Skipping handling of 1227/all/22025.0641 as it is younger than 1h

Skipping handling of 1227/all/22025.0701 as it is younger than 1h

Unless the remove-keep is only matching targets where init/exec have status=FAIL this seems like a bug.