ESMCI / cime

Common Infrastructure for Modeling the Earth
http://esmci.github.io/cime
Other
162 stars 207 forks source link

test_sys_unittest.py does not honor --compiler option #4534

Closed jedwards4b closed 11 months ago

jedwards4b commented 11 months ago

When I try ./scripts_regression_tests.py test_sys_unittest.py --verbose --compiler gnu I get acknowledgement that scripts_regression_tests.py is using the gnu compiler, but test_sys_unittest.py continues to use the default compiler for the system. There is also a bug in test_sys_unittest.py in that it only reads the first cmake macros file that it finds and ignores the rest. I have pushed a PR to fix this second problem and would ask that @jasonb5 start from that branch to fix the first issue.