diff --git a/test/framework/parallelbuild.py b/test/framework/parallelbuild.py index 4e75672815..1c45f109ba 100644 --- a/test/framework/parallelbuild.py +++ b/test/framework/parallelbuild.py @@ -44,6 +44,7 @@ from easybuild.tools.options import parse_options from easybuild.tools.parallelbuild import build_easyconfigs_in_parallel, submit_jobs from easybuild.tools.robot import resolve_dependencies +from easybuild.tools.build_log import EasyBuildError # test GC3Pie configuration with large resource specs @@ -260,7 +261,10 @@ def test_build_easyconfigs_in_parallel_gc3pie(self): topdir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) test_easyblocks_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'sandbox') cmd = "PYTHONPATH=%s:%s:$PYTHONPATH eb %%(spec)s -df" % (topdir, test_easyblocks_path) - build_easyconfigs_in_parallel(cmd, ordered_ecs, prepare_first=False) + try: + build_easyconfigs_in_parallel(cmd, ordered_ecs, prepare_first=False) + except EasyBuildError as err: + print("Catch GC3Pie deprecation message and continue test.") toy_modfile = os.path.join(self.test_installpath, 'modules', 'all', 'toy', '0.0') if get_module_syntax() == 'Lua':