Skip to content

Update regression tests that use obsolete attribute values. #17043

Open
@biagas

Description

@biagas

If you look at the testsuite log file, there are many warnings such as:
'backgroundFlag' is obsolete. Use 'opaqueColor'.
'foregroundFlag' is obsolete. Use 'meshColor'.
'specifyTextColor1' is obsolete. Trying to accommodate.

While I understand in part leaving them in the test, to ensure old scripts don't completely break when attributes change, the regression tests also serve as examples of how to do things in VisIt. As such wouldn't it be better to update any test using obsolete values?

Cleaning these up would also make it easier to find actual problems with tests, as it would reduce the warning messages in the log file.

If we still wanted to ensure old scripts work (via testing), we could possibly introduce a new test, with the sole purpose of testing obsolete things. 'OldAtts' test or something like that. Say that the OldAtts test existed when the way that Mesh plot's colors were specified. Any existing mesh plot test would have been updated to the new way, and a Mesh plot color specific test would be added to the OldAtts test, perhaps with a 'remove by version' tag. It could be a bit of a maintenance headache though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestimpact mediumProductivity partially degraded (not easily mitigated bug) or improved (enhancement)likelihood mediumNeither low nor high likelihoodreviewedIssue has been reviewed and labeled by a developer

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions