Skip to content

Commit df2830b

Browse files
authored
Update toy_build.py
1 parent ee83e86 commit df2830b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/framework/toy_build.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,6 +3034,15 @@ def grab_gcc_rpath_wrapper_args():
30343034
write_file(toy_ec, toy_ec_txt)
30353035
with self.mocked_stdout_stderr():
30363036
self._test_toy_build(ec_file=toy_ec, extra_args=['--rpath'], raise_error=True)
3037+
3038+
# test check_readelf_rpath easyconfig parameter
3039+
test_ecs = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'easyconfigs', 'test_ecs')
3040+
toy_ec_txt = read_file(os.path.join(test_ecs, 't', 'toy', 'toy-0.0.eb'))
3041+
toy_ec_txt += "\ncheck_readelf_rpath = False\n"
3042+
toy_ec = os.path.join(self.test_prefix, 'toy.eb')
3043+
write_file(toy_ec, toy_ec_txt)
3044+
with self.mocked_stdout_stderr():
3045+
self._test_toy_build(ec_file=toy_ec, extra_args=['--rpath'], raise_error=True)
30373046

30383047
def test_toy_filter_rpath_sanity_libs(self):
30393048
"""Test use of --filter-rpath-sanity-libs."""

0 commit comments

Comments
 (0)