Skip to content
Snippets Groups Projects
Commit 8fc48379 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

check that we have found gcc locally

parent 71b8b061
No related branches found
No related tags found
2 merge requests!19Move linux-debian11 into main,!18check that we have found gcc locally
Pipeline #368547 passed
...@@ -157,6 +157,8 @@ def test_install_environment(tmp_path): ...@@ -157,6 +157,8 @@ def test_install_environment(tmp_path):
.stdout.decode("utf-8") .stdout.decode("utf-8")
.strip() .strip()
) )
assert len(gcc_ver) > 3, f"Couldn't find gcc {gcc_ver=}"
setup_file = release_base_dir / "spack-environments/spack_setup.sh" setup_file = release_base_dir / "spack-environments/spack_setup.sh"
with open(setup_file, "r") as f: with open(setup_file, "r") as f:
lines = f.read().replace( lines = f.read().replace(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment