File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff 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 += "\n check_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."""
You can’t perform that action at this time.
0 commit comments