test: Add workaround for FreeBSD libedit vs readline issue
authorEd Maste <emaste@freebsd.org>
Wed, 14 Jan 2015 20:32:33 +0000 (20:32 +0000)
committerEd Maste <emaste@freebsd.org>
Wed, 14 Jan 2015 20:32:33 +0000 (20:32 +0000)
commit55f74e829bb173ecc70ed2b83f565add5df4fa7d
tree56f3d5634ce560d1ddd3f151917369936e62fb3f
parent11a34b385d3c9f6eb1214b5768f5672dde5873ff
test: Add workaround for FreeBSD libedit vs readline issue

If stdout is not a terminal Python executes
    rl_variable_bind ("enable-meta-key", "off");

This produces a warning with FreeBSD's libedit because the
enable-meta-key variable is unknown.  Not an issue on Apple because
cpython commit f0ab6f9f0603 added a #ifndef __APPLE__ around the call.
See http://bugs.python.org/issue19884 for more information.

For now we just discard the warning output to get the tests working
again on FreeBSD.

llvm-svn: 226037
lldb/test/dotest.py