Skip to content

Commit

Permalink
[test:job_backend] Prevent deprecation warning from causing test fail…
Browse files Browse the repository at this point in the history
…ures
  • Loading branch information
gkaf89 committed Sep 28, 2024
1 parent d25537c commit c029579
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/framework/parallelbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,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:
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':
Expand Down

0 comments on commit c029579

Please sign in to comment.