Use (wrong) shared library for libtinfo
We never load anything from it and we don't have it on the bots.
We just need a correct so file so that the art module can load, use the existing ncurses
Change-Id: I14976780ffbb60017c8d0f22a99974f84c58b5ee
diff --git a/tools/test.py b/tools/test.py
index 973f8a4..aa63a0f 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -319,9 +319,19 @@
if not os.path.exists("tools/linux/art-7.0.0/lib/libncurses.so.5"):
os.symlink("/usr/lib/i386-linux-gnu/libncurses.so.6",
art7 + "/lib/libncurses.so.5")
+ if not os.path.exists("tools/linux/art-7.0.0/lib/libtinfo.so.5"):
+ # We don't have libtinfo, but this is never used, so we just need
+ # a valid 32bit library file.
+ os.symlink("/usr/lib/i386-linux-gnu/libncurses.so.6",
+ art7 + "/lib/libtinfo.so.5")
if not os.path.exists("tools/linux/art-7.0.0/lib64/libncurses.so.5"):
os.symlink("/usr/lib/x86_64-linux-gnu/libncurses.so.6",
art7 + "/lib64/libncurses.so.5")
+ if not os.path.exists("tools/linux/art-7.0.0/lib64/libtinfo.so.5"):
+ # We don't have libtinfo, but this is never used, so we just need
+ # a valid 64bit library file.
+ os.symlink("/usr/lib/x86_64-linux-gnu/libncurses.so.6",
+ art7 + "/lib64/libtinfo.so.5")
def Main():
(options, args) = ParseOptions()