diff options
author | Frederic Riss <friss@apple.com> | 2019-02-14 18:48:05 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2019-02-14 18:48:05 +0000 |
commit | b3a4649a6a27aa4b70b360445f6d2c600db8dff7 (patch) | |
tree | 83e065a23b91add1831619b04156c5699a38a8bb /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py | |
parent | 97067d3c7321ff8a3dcb0b0f41ae06b1602787c3 (diff) | |
download | bcm5719-llvm-b3a4649a6a27aa4b70b360445f6d2c600db8dff7.tar.gz bcm5719-llvm-b3a4649a6a27aa4b70b360445f6d2c600db8dff7.zip |
[dotest] Fix compiler version number comparison
dotest's version comparision function is just a lexicographical compare
of the version strings. This is obviously wrong. This patch implements
the comparison using distutils.version.LooseVersion as suggested by
Zachary.
Reviewers: zturner, labath, serge-sans-paille
Subscribers: jdoerfert, lldb-commits
Differential Revision: https://reviews.llvm.org/D58219
llvm-svn: 354047
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions