Page MenuHomePhabricator

ParserTests: incrementally rewrite-blacklist when used with --filter option
Open, LowPublic

Description

when --filter and --rewrite-blacklist is used together, rewrite deletes entries for all other tests. Fix parser tests script to make them play well together.


Version: unspecified
Severity: normal

Details

Reference
bz51448

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:03 AM
bzimport added a project: Parsoid-Tests.
bzimport set Reference to bz51448.

The easiest thing would be for --rewrite-blacklist to fail with an error if --filter was specified.

But you want something different, it seems? To keep all the existing blacklist entries which don't match the filter, and just rewrite the filtered ones?

The former would be good, and the latter would be better. It can even be two different tasks.

Change 73984 had a related patch set uploaded by Cscott:
Sanity check --rewrite-blacklist: don't allow simultaneous --filter.

https://gerrit.wikimedia.org/r/73984

Change 73984 merged by jenkins-bot:
Sanity check --rewrite-blacklist: don't allow simultaneous --filter.

https://gerrit.wikimedia.org/r/73984

Retitling the bug to accomodate the second half of subbu's feature request.

Arlolra added a project: Parsoid.
Arlolra set Security to None.