File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1387,6 +1387,16 @@ def test_toy_extension_patches_postinstallcmds(self):
13871387 fn = 'created-via-postinstallcmds.txt'
13881388 self .assertExists (os .path .join (installdir , fn ))
13891389
1390+ # make sure that patch file for extension was copied to 'easybuild' subdir in installation directory
1391+ easybuild_subdir = os .path .join (installdir , 'easybuild' )
1392+ patches = sorted (os .path .basename (x ) for x in glob .glob (os .path .join (easybuild_subdir , '*.patch' )))
1393+ expected_patches = [
1394+ 'bar-0.0_fix-silly-typo-in-printf-statement.patch' ,
1395+ 'bar-0.0_fix-very-silly-typo-in-printf-statement.patch' ,
1396+ 'toy-0.0_fix-silly-typo-in-printf-statement.patch' ,
1397+ ]
1398+ self .assertEqual (patches , expected_patches )
1399+
13901400 def test_toy_extension_sources (self ):
13911401 """Test install toy that includes extensions with 'sources' spec (as single-item list)."""
13921402 topdir = os .path .dirname (os .path .abspath (__file__ ))
You can’t perform that action at this time.
0 commit comments