tests: simplify and reduce the strictness of version string regex patterns
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 11 Apr 2023 14:47:20 +0000 (16:47 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 11 Apr 2023 15:54:57 +0000 (17:54 +0200)
commitb740f64daf62f16548b48126723da8f59cdb6515
treee213b52e66b3e5156fa8d26c0679af9b0b1aeee3
parent7936f5021842d50d8131164cf26eb1a702521c25
tests: simplify and reduce the strictness of version string regex patterns

It seems like every release there's some new problem with parsing the
version strings in tests. Let's reduce the strictness of the patterns
to avoid future test failures and accept the following version schemes:

X.Y
X.Y.Z
X.Y-devel
X.Y-rcZ

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/cxx/tests/tests-misc.cpp
bindings/python/tests/tests_module.py
tests/tests-misc.c