Commit 8f3dce93 authored by Robert Bradshaw's avatar Robert Bradshaw

Another gdb test fix.

parent 993afd3d
...@@ -61,7 +61,10 @@ def test_gdb(): ...@@ -61,7 +61,10 @@ def test_gdb():
stdout=subprocess.PIPE) stdout=subprocess.PIPE)
python_version = p.stdout.read().decode('ascii') python_version = p.stdout.read().decode('ascii')
p.wait() p.wait()
try:
python_version_number = list(map(int, python_version.split())) python_version_number = list(map(int, python_version.split()))
except ValueError:
have_gdb = False
# Be Python 3 compatible # Be Python 3 compatible
if (not have_gdb if (not have_gdb
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment