We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13eed4f commit 8545231Copy full SHA for 8545231
test/framework/easyconfig.py
@@ -457,7 +457,10 @@ def test_extensions_templates(self):
457
# check whether template values were resolved correctly in Extension instances that were created/used
458
toy_ext = eb.ext_instances[0]
459
self.assertEqual(os.path.basename(toy_ext.src), 'toy-0.0-py3-test.tar.gz')
460
- self.assertEqual(toy_ext.patches, [os.path.join(self.test_prefix, toy_patch_fn)])
+ patches = []
461
+ for patch in toy_ext.patches:
462
+ patches.append(patch['path'])
463
+ self.assertEqual(patches, [os.path.join(self.test_prefix, toy_patch_fn)])
464
expected = {
465
'patches': ['toy-0.0_fix-silly-typo-in-printf-statement.patch'],
466
'prebuildopts': 'gcc -O2 toy.c -o toy-0.0 && mv toy-0.0 toy #',
0 commit comments