Skip to content

staktrace/supercollapser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuperCollapser

This is a tool to collapse redundant clauses and rules in the WPT meta-files in mozilla-central.

Usage

git clone https://github.com/staktrace/supercollapser
cd supercollapser
./supercollapse /path/to/mozilla-central

This will make changes to the testing/web-platform/meta folder in your mozilla-central folder. Diff to verify and commit.

Caveats

The collapsing is done using a set of rules hard-coded in src/main.rs. It needs to be updated if we add new test configurations and such. So always do a try push with all configurations before landing the generated changes.

More documentation

There is a big comment above the ruleset in src/main.rs that explains how the rulesets work and walks through a concrete example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published