Skip to content

Commit

Permalink
don't expect templates to be fully resolved in easyconfigs test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Dec 18, 2024
1 parent ab22c93 commit 653646c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/easyconfigs/easyconfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,7 @@ def verify_patch(specdir, patch_spec, checksum_idx, patch_checksums, extension_n
patch_path = os.path.join(patch_dir, patch_name)
patch_descr = "patch file " + patch_name
if extension_name:
patch_descr += "of extension " + extension_name
patch_descr += " of extension " + extension_name

# only check actual patch files, not other files being copied via the patch functionality
if patch_path.endswith('.patch'):
Expand Down Expand Up @@ -1724,8 +1724,8 @@ def template_easyconfig_test(self, spec):
if key not in DEFAULT_CONFIG and key not in extra_opts:
continue

orig_val = resolve_template(ec_dict[key], ec.template_values)
dumped_val = resolve_template(dumped_ec[key], ec.template_values)
orig_val = resolve_template(ec_dict[key], ec.template_values, expect_resolved=False)
dumped_val = resolve_template(dumped_ec[key], ec.template_values, expect_resolved=False)

# skip SYSTEM template constant check for 2019b and older toolchain generation easyconfigs
# since these fail other CI checks when updated
Expand Down

0 comments on commit 653646c

Please sign in to comment.