HomePhabricator

[dotest] Fix compiler version number comparison

Description

[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

Details

Committed
frissFeb 14 2019, 10:48 AM
Differential Revision
D58219: [dotest] Fix compiler version number comparison
Branches
Unknown
Tags
Unknown