[NFC] Fix Z3 version detection regexp
authorBalazs Benics <benicsbalazs@gmail.com>
Thu, 26 Mar 2020 11:30:27 +0000 (12:30 +0100)
committerBalazs Benics <benicsbalazs@gmail.com>
Thu, 9 Apr 2020 11:06:22 +0000 (13:06 +0200)
commit45ab67721e900801e79d7e993cf61de2065035f7
tree626890d8a53eb9414f17aa8f19c27623f230e5c1
parent76975c744da1e82ca6bdbe6883c799340acaf4f0
[NFC] Fix Z3 version detection regexp

Summary:
We use the `major.minor.build` version format in this file, except when we try
to parse the result of the test binary.
In that regular expression, we expect the `major.minor.build.rev` format, which
is never fulfilled.

Reviewers: NoQ, george.karpenkov, alexandre.isoard, serge-sans-paille

Reviewed By: NoQ

Subscribers: mgorny, mikhail.ramalho, Charusso, martong, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76837
llvm/cmake/modules/FindZ3.cmake