Using test/baseline/rebase.py to rebase test results
#20025
markcmiller86
started this conversation in
Share cool stuff
Replies: 1 comment
|
Very cool |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I had a slew of test results from a newly added test that I generated on a macOS system. But the nightly test suite runs on Linux, with different compilers and I suspect even different rendering code paths. So, many of the files do not match pixel-for-pixel with what is produced in nigthly testing on Linux. What to do?
The answer is we have a rebase tool in
test/baseline/rebase.pythat makes this very easy. It will copy files from the dashboard to their appropriate place in the baseline directory tree. Here are the steps...I wanted to rebase from results shown on the dashboard with date,
2024-11-10-22:00, in the URL. I wanted to rebase all restuls from theannot_macrosy.pytest which is in therenderingcategory. The command was...As it copies files, it will warn about file size change because the local file is probably an LFS file (always around about 130 bytes) and the rebased file will be much larger because it is the actual
.pngfile. That is ok.Once the rebase is complete, commit and push changes and create a PR.
All reactions