Skip to content

Commit e9e7870

Browse files
committed
avoid that test_toolchain_prepare_rpath_external produces output
1 parent 841b82b commit e9e7870

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/framework/toolchain.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3153,7 +3153,8 @@ def test_toolchain_prepare_rpath_external(self):
31533153
tc = self.get_toolchain('gompi', version='2018a')
31543154
tc.set_options({'rpath': True})
31553155
# allow the underlying toolchain to be in a prepared state (which may include rpath wrapping)
3156-
tc.prepare(rpath_wrappers_dir=target_wrapper_dir)
3156+
with self.mocked_stdout_stderr():
3157+
tc.prepare(rpath_wrappers_dir=target_wrapper_dir)
31573158

31583159
# check that wrapper was created
31593160
target_wrapper = os.path.join(target_wrapper_dir, RPATH_WRAPPERS_SUBDIR, 'gxx_wrapper', 'g++')

0 commit comments

Comments
 (0)