@@ -592,6 +592,7 @@ def test_rpath(
592592 # - check if RUNPATH is replaced by RPATH
593593 # - check if RPATH location is correct, i.e. it is inside .libs directory
594594 # where all gathered libraries are put
595+ # - check if the order of dependencies affects if library is found
595596
596597 policy = anylinux .policy
597598
@@ -605,7 +606,12 @@ def test_rpath(
605606 assert f"DT_{ dtag .upper ()} " in tags
606607
607608 # Repair the wheel using the appropriate manylinux container
608- anylinux .repair (orig_wheel , library_paths = [f"{ test_path } /a" ])
609+ repair_output = anylinux .repair (
610+ orig_wheel , library_paths = [f"{ test_path } /a" ], verbose = 3
611+ )
612+ assert "lddtree:Could not locate libd.so, skipping" in repair_output , (
613+ repair_output
614+ )
609615 repaired_wheel = anylinux .check_wheel ("testrpath" )
610616 assert_show_output (anylinux , repaired_wheel , policy , False )
611617
@@ -641,19 +647,6 @@ def test_rpath(
641647 assert len (rpath_tags ) == 1
642648 assert rpath_tags [0 ].rpath == "$ORIGIN"
643649
644- def test_dependency_order (
645- self , anylinux : AnyLinuxContainer , python : PythonContainer
646- ) -> None :
647- policy = anylinux .policy
648-
649- test_path = "/auditwheel_src/tests/integration/testrpath"
650- orig_wheel = anylinux .build_wheel (test_path )
651-
652- repair_output = anylinux .repair (
653- orig_wheel , library_paths = [f"{ test_path } /a" ], verbose = 3
654- )
655- assert "lddtree:Could not locate libd.so, skipping" in repair_output
656-
657650 def test_multiple_top_level (
658651 self , anylinux : AnyLinuxContainer , python : PythonContainer
659652 ) -> None :
0 commit comments