Using test/baseline/rebase.py
to rebase test results
#20025
markcmiller86
started this conversation in
Share cool stuff
Replies: 1 comment
-
Very cool |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
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.py
that 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.py
test which is in therendering
category. 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
.png
file. That is ok.Once the rebase is complete, commit and push changes and create a PR.
Beta Was this translation helpful? Give feedback.
All reactions