Try to repair the failing test on the OpenBSD buildbot. Trial and error...
This commit is contained in:
parent
a56b91552a
commit
0b465702e6
|
@ -16,7 +16,7 @@ elif sys.platform == "cygwin":
|
||||||
else:
|
else:
|
||||||
for line in os.popen("ldd %s" % sys.executable):
|
for line in os.popen("ldd %s" % sys.executable):
|
||||||
if "libc.so" in line:
|
if "libc.so" in line:
|
||||||
if sys.platform == "openbsd3":
|
if sys.platform.startswith("openbsd3"):
|
||||||
libc_name = line.split()[4]
|
libc_name = line.split()[4]
|
||||||
else:
|
else:
|
||||||
libc_name = line.split()[2]
|
libc_name = line.split()[2]
|
||||||
|
|
Loading…
Reference in New Issue