[python] Add some paths where to find test binary
authorAnders Waldenborg <anders@0x63.nu>
Wed, 21 Mar 2012 08:34:58 +0000 (08:34 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Wed, 21 Mar 2012 08:34:58 +0000 (08:34 +0000)
Adds /usr/lib/debug early to list, as some systems (debian) have unstripped libs in there
Adds /lib/i386-linux-gnu for systems that does multiarch (debian)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153174 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/llvm/tests/base.py

index edd7eda8708d2aaf4484647cd404e5d177d7360d..ff9eb2fc143862515188fd21a30d58fb7503a84e 100644 (file)
@@ -7,9 +7,11 @@ POSSIBLE_TEST_BINARIES = [
 ]
 
 POSSIBLE_TEST_BINARY_PATHS = [
+    '/usr/lib/debug',
     '/lib',
     '/usr/lib',
     '/usr/local/lib',
+    '/lib/i386-linux-gnu',
 ]
 
 class TestBase(unittest.TestCase):