mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 06:38:03 -06:00
* Approval tests Move to approvals to do the approval-style tests we had in filters-cases. You can configure which diff viewer it uses with ~/.approvalsConfig Pros: * standard diff-based thing * easy to "bless" all the differences (see `forceApproveAll`) * fairly standard pattern * forces a comprehensive all permutations and combinations vs the ad hoc subset we picked before Cons: * really wants to name the files *.approved.txt * spawns _all the diffs_ at once and so an overarching change can crush your computer with diff (e.g. if you use `meld` like I do, you end up with 100+ diffs opening) * comprehensive testing means this takes longer, now ~16s to do all these tests * use latest approvals and its new settings * Normalize line endings in the hope of getting windows passing * fix for windows * oops Co-authored-by: partouf <partouf@gmail.com>