Hotfix: Fix CI unit test after CI refactor (#36004)
* Hotfix: Fix CI unit test after CI refactor
This commit is contained in:
parent
f3595da600
commit
181bb54372
@ -1834,11 +1834,7 @@ def test_ci_generate_prune_env_vars(
|
||||
):
|
||||
"""Make sure environment variables controlling untouched spec
|
||||
pruning behave as expected."""
|
||||
os.environ.update(
|
||||
{
|
||||
"SPACK_PRUNE_UNTOUCHED": "TRUE", # enables pruning of untouched specs
|
||||
}
|
||||
)
|
||||
os.environ.update({"SPACK_PRUNE_UNTOUCHED": "TRUE"}) # enables pruning of untouched specs
|
||||
filename = str(tmpdir.join("spack.yaml"))
|
||||
with open(filename, "w") as f:
|
||||
f.write(
|
||||
@ -1846,11 +1842,12 @@ def test_ci_generate_prune_env_vars(
|
||||
spack:
|
||||
specs:
|
||||
- libelf
|
||||
gitlab-ci:
|
||||
mappings:
|
||||
ci:
|
||||
pipeline-gen:
|
||||
- submapping:
|
||||
- match:
|
||||
- arch=test-debian6-core2
|
||||
runner-attributes:
|
||||
build-job:
|
||||
tags:
|
||||
- donotcare
|
||||
image: donotcare
|
||||
|
Loading…
Reference in New Issue
Block a user