annot_macros_allmacros_12 fails when not run in the nightly location #20182
Labels
bug
Something isn't working
impact medium
Productivity partially degraded (not easily mitigated bug) or improved (enhancement)
likelihood medium
Neither low nor high likelihood
Describe the bug
This test uses a full path to the data file to display as annotation text.
The path differs if a developer runs the test from their own checkout, and thus the test fails.
It is a bit of an annoyance to discover there were errors in the test suite when testing locally only to discover this was the only failure.
It would be nice if this test either only used the db name, or filtered out the path to display only the root of the test suite.
There are places in our testing with text output that filters full paths to replace parts of them with
VISIT_TOP_DIR
so that the outputs will be the same everywhere. This use case is different, because it isn't textual output, but text added to the annotations being rendered.Nevertheless, it should be possible to use the same filtering in this case before setting it as the text to be used in the annotation.
Expected behavior
The test shouldn't fail when run from a different location than the nightlies.
The text was updated successfully, but these errors were encountered: