[Chapel Merge] Add genGraphs wrapper

Branch: refs/heads/master
Revision: 3f39199
Author: mppf
Log Message:

Merge pull request #16662 from mppf/genGraphs-wrapper

Add genGraphs wrapper

Follow-up to PRs #16644 and #16560.

Since genGraphs is run as a subprocess (rather than imported), it needs
to take steps to run in the venv so that import yaml will work.

This is intended to resolve warnings like this in some nightly testing
configurations:

[Warning: “annotate” import failed, no annotations will be generated]

Reviewed by @ronawho - thanks!

  • [x] spot-checked a performance test
  • [x] full local testing

Modified Files:
A util/test/genGraphs.py
M util/test/genGraphs

Compare: https://github.com/chapel-lang/chapel/compare/81a82dc4000b...3f39199b4d8c