@@ -592,6 +592,7 @@ def test_rpath(
592
592
# - check if RUNPATH is replaced by RPATH
593
593
# - check if RPATH location is correct, i.e. it is inside .libs directory
594
594
# where all gathered libraries are put
595
+ # - check if the order of dependencies affects if library is found
595
596
596
597
policy = anylinux .policy
597
598
@@ -605,7 +606,12 @@ def test_rpath(
605
606
assert f"DT_{ dtag .upper ()} " in tags
606
607
607
608
# 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
+ )
609
615
repaired_wheel = anylinux .check_wheel ("testrpath" )
610
616
assert_show_output (anylinux , repaired_wheel , policy , False )
611
617
@@ -641,19 +647,6 @@ def test_rpath(
641
647
assert len (rpath_tags ) == 1
642
648
assert rpath_tags [0 ].rpath == "$ORIGIN"
643
649
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
-
657
650
def test_multiple_top_level (
658
651
self , anylinux : AnyLinuxContainer , python : PythonContainer
659
652
) -> None :
0 commit comments