Skip to content

Commit

Permalink
Fix tweak_map return value test for hwloc dep
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoldeman committed Oct 6, 2024
1 parent 4c99da7 commit 1b1dd25
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/framework/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,8 +1156,10 @@ def test_tweak_robotpath(self):
# Check it picks up the untweaked dependency of the tweaked OpenMPI
untweaked_hwloc = os.path.join(test_easyconfigs, 'h', 'hwloc', 'hwloc-1.11.8-GCC-6.4.0-2.28.eb')
self.assertIn(untweaked_hwloc, specs)
# Check correctness of tweak_map
self.assertEqual(tweak_map, {tweaked_openmpi: untweaked_openmpi, tweaked_hwloc: untweaked_hwloc})
# Check correctness of tweak_map (maps back to the original untweaked file, even for hwloc, where the
# tweaked version is generated but not used)
self.assertEqual(tweak_map, {tweaked_openmpi: untweaked_openmpi,
tweaked_hwloc: untweaked_hwloc.replace("6.4.0-2.28", "4.6.4")})

def test_robot_find_subtoolchain_for_dep(self):
"""Test robot_find_subtoolchain_for_dep."""
Expand Down

0 comments on commit 1b1dd25

Please sign in to comment.