Skip to content

Commit

Permalink
Update test/easyconfigs/easyconfigs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Hoste <[email protected]>
  • Loading branch information
Micket and boegel authored Oct 14, 2024
1 parent e7dc57a commit 6c8259c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/easyconfigs/easyconfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ def template_easyconfig_test(self, spec):
# meson buildtype should be specified with easyblock parameter "buildtype" not with custom configopts.
if ec['easyblock'] == 'MesonNinja':
configopts = ec.get('configopts', '', resolve=True)
if '--buildtype ' in configopts:
if '--buildtype ' in configopts or '--buildtype=' in configopts:
fail_msg = "Build type should be specified via MesonNinja parameter 'buildtype' instead of configopts."
failing_checks.append(fail_msg)

Expand Down

0 comments on commit 6c8259c

Please sign in to comment.