Changeset: 6623099fb8f4 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6623099fb8f4 Modified Files: testing/Mtest.py.in Branch: Oct2020 Log Message:
Move socket call into try/except. If no IPv6 support, the socket call fails. diffs (13 lines): diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in --- a/testing/Mtest.py.in +++ b/testing/Mtest.py.in @@ -4074,8 +4074,8 @@ def main(argv) : CONDITIONALS['BAD_HOSTNAME'] = '#' # True if THISFILE == "Mtest.py": # env['MAPIPORT'] not available on Mapprove.py - s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) try: + s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) s.bind(('::1', int(env['MAPIPORT']))) except socket.error as err: CONDITIONALS['HAVE_IPV6'] = '' # False _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list