Closed
Bug 1714036
Opened 5 years ago
Closed 5 years ago
FOG: Allow easy updating of code gen snapshot tests
Categories
(Toolkit :: Telemetry, enhancement, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
91 Branch
| Tracking | Status | |
|---|---|---|
| firefox91 | --- | fixed |
People
(Reporter: janerik, Assigned: janerik)
Details
Attachments
(1 file)
Right now it's a bit of a hassle to update the expected output of the code generator.
One has to manually modify the metrics index, run a build, then copy the right files into t/c/g/pytest (with different names then their generated ones).
But the test already sees the new content! We can just let it write it when asked to do so.
| Assignee | ||
Comment 1•5 years ago
|
||
One can now run the tests with UPDATE_EXPECT=1 and the code will
update the files, so one can then commit them (after verifying that they
do what they should)
Pushed by jrediger@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/96f3dac42ba9
Add a way to automatically update the expected file contents for Glean tests. r=chutten
Comment 3•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox91:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•