Skip to content

Commit 2bddab2

Browse files
committed
also clear patches for easyconfigs using Bundle easyblock in check_sha256_checksums in easyconfigs tests (cfr. easybuilders/easybuild-easyblocks#1897)
1 parent d3781b6 commit 2bddab2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/easyconfigs/easyconfigs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,10 +514,11 @@ def check_sha256_checksums(self, changed_ecs):
514514
# for easyconfigs using the Bundle easyblock, this is a problem because the 'sources' easyconfig parameter
515515
# is updated in place (sources for components are added the 'parent' sources) in Bundle's __init__;
516516
# therefore, we need to reset 'sources' to an empty list here if Bundle is used...
517-
# likewise for 'checksums'
517+
# likewise for 'patches' and 'checksums'
518518
for ec in changed_ecs:
519519
if ec['easyblock'] == 'Bundle':
520520
ec['sources'] = []
521+
ec['patches'] = []
521522
ec['checksums'] = []
522523

523524
# filter out deprecated easyconfigs

0 commit comments

Comments
 (0)