visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
440 stars 116 forks source link

Ensure annot_macros tests run on Windows #20029

Closed markcmiller86 closed 1 week ago

markcmiller86 commented 1 week ago

Description

This ensures the annot_macros.py will run on Windows also.

I also made some missing adjustments to python 2/3 coding logic in visit_test_main.py and made azure-pipelines.yml a little cleaner.

Type of change

How Has This Been Tested?

Reminders:

Checklist:

markcmiller86 commented 1 week ago

FYI...I did ensure that the finally: block does indeed reliably remove the files even if the test is ctrl-C'd. I did this by running the test up to the tafile() block and then killing the viewer with a kill -9 and the examining the test data dir for those files.

markcmiller86 commented 1 week ago

In 2461534 I adjusted the with and for logic for the two files being used there to make it cleaner.