From ad674d3e32008a3f64ba59a39463ff35dbff61e4 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Fri, 26 Apr 2024 17:21:15 +0200 Subject: [PATCH] fix test_show_config since RPATH setting is now always shown in output of --show-config --- test/framework/options.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/framework/options.py b/test/framework/options.py index c401105116..84c6160702 100644 --- a/test/framework/options.py +++ b/test/framework/options.py @@ -65,7 +65,7 @@ from easybuild.tools.options import set_up_configuration, set_tmpdir, use_color from easybuild.tools.toolchain.utilities import TC_CONST_PREFIX from easybuild.tools.run import run_shell_cmd -from easybuild.tools.systemtools import HAVE_ARCHSPEC +from easybuild.tools.systemtools import DARWIN, HAVE_ARCHSPEC, get_os_type from easybuild.tools.version import VERSION from test.framework.utilities import EnhancedTestCase, TestLoaderFiltered, cleanup, init_config @@ -5194,6 +5194,7 @@ def test_show_config(self): r"installpath\s* \(E\) = " + os.path.join(self.test_prefix, 'tmp.*'), r"repositorypath\s* \(D\) = " + os.path.join(default_prefix, 'ebfiles_repo'), r"robot-paths\s* \(E\) = " + os.path.join(test_dir, 'easyconfigs', 'test_ecs'), + r"rpath\s* \(D\) = " + ('False' if get_os_type() == DARWIN else 'True'), r"sourcepath\s* \(E\) = " + os.path.join(test_dir, 'sandbox', 'sources'), r"subdir-modules\s* \(F\) = mods", ]