@@ -4027,8 +4027,8 @@ def test_github_xxx_include_easyblocks_from_pr(self):
40274027 write_file (self .logfile , '' )
40284028
40294029 args = [
4030- '--from-pr=22227 ' , # PR for Togl easyconfig
4031- '--include-easyblocks-from-pr=3563,3634 ' , # PRs for ConfigureMake and GROMACS easyblock
4030+ '--from-pr=22589 ' , # PR for DIAMOND easyconfig
4031+ '--include-easyblocks-from-pr=3677,3674 ' , # PRs for CMakeMake and LLVM easyblock
40324032 '--unittest-file=%s' % self .logfile ,
40334033 '--github-user=%s' % GITHUB_TEST_ACCOUNT ,
40344034 '--extended-dry-run' ,
@@ -4042,27 +4042,27 @@ def test_github_xxx_include_easyblocks_from_pr(self):
40424042 logtxt = read_file (self .logfile )
40434043
40444044 self .assertFalse (stderr )
4045- self .assertEqual (stdout , "== easyblock configuremake .py included from PR #3563 \n " +
4046- "== easyblock gromacs .py included from PR #3634 \n " )
4045+ self .assertEqual (stdout , "== easyblock cmakemake .py included from PR #3677 \n " +
4046+ "== easyblock llvm .py included from PR #3674 \n " )
40474047
40484048 # easyconfig from pr is found
4049- ec_pattern = os .path .join (self .test_prefix , '.*' , 'files_pr22227 ' , 't ' , 'Togl ' ,
4050- 'Togl -2.0-GCCcore -13.3.0.eb' )
4049+ ec_pattern = os .path .join (self .test_prefix , '.*' , 'files_pr22589 ' , 'd ' , 'DIAMOND ' ,
4050+ 'DIAMOND -2.1.11-GCC -13.3.0.eb' )
40514051 ec_regex = re .compile (r"Parsing easyconfig file %s" % ec_pattern , re .M )
40524052 self .assertTrue (ec_regex .search (logtxt ), "Pattern '%s' found in: %s" % (ec_regex .pattern , logtxt ))
40534053
40544054 # easyblock included from pr is found
40554055 eb_regex = re .compile (
4056- r"Derived full easyblock module path for ConfigureMake : easybuild.easyblocks.generic.configuremake " , re .M )
4056+ r"Derived full easyblock module path for CMakeMake : easybuild.easyblocks.generic.cmakemake " , re .M )
40574057 self .assertTrue (eb_regex .search (logtxt ), "Pattern '%s' found in: %s" % (eb_regex .pattern , logtxt ))
40584058
40594059 # easyblock is found via get_easyblock_class
4060- klass = get_easyblock_class ('ConfigureMake ' )
4060+ klass = get_easyblock_class ('CMakeMake ' )
40614061 self .assertTrue (issubclass (klass , EasyBlock ), "%s is an EasyBlock derivative class" % klass )
40624062
40634063 # 'undo' import of easyblocks
4064- del sys .modules ['easybuild.easyblocks.gromacs ' ]
4065- del sys .modules ['easybuild.easyblocks.generic.configuremake ' ]
4064+ del sys .modules ['easybuild.easyblocks.llvm ' ]
4065+ del sys .modules ['easybuild.easyblocks.generic.cmakemake ' ]
40664066 sys .path [:] = orig_local_sys_path
40674067 import easybuild .easyblocks
40684068 reload (easybuild .easyblocks )
0 commit comments