Skip to content

Commit

Permalink
Bug module wrapper regex (#807)
Browse files Browse the repository at this point in the history
* Fix regex in ModuleWrapperCatElem to account for versioned modules

* Convert dashes to underscores in version names

* Fix module wrapper test
  • Loading branch information
hwikle-lanl authored Jan 31, 2025
1 parent 7caf955 commit ad3fd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/mod_wrapper_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def check_test(ctest, expected_lines):
'export CPP=BAZ-${gcc_VERSION}',
'module load openmpi-bar/11.10',
'export MPICC=mpicc',
'export openmpi-any_VERSION=11.10'
'export openmpi_any_VERSION=11.10'
])

check_test(tests_by_name['test-no-vers'], [
Expand Down

0 comments on commit ad3fd8b

Please sign in to comment.