blob: add301f6b211313389b1bbac70cd2942b4d50f75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
We don't care if the number of iterations is a little bit off if we
get the correct objective value. Regex is not really appropriate for
numerical comparisons, so for lack of a better idea, we look for any
number.
diff --git a/check/CMakeLists.txt b/check/CMakeLists.txt
index 36ace0b..3a6878f 100644
--- a/check/CMakeLists.txt
+++ b/check/CMakeLists.txt
@@ -431,7 +431,7 @@ if ((NOT FAST_BUILD OR ALL_TESTS) AND NOT (BUILD_EXTRA_UNIT_ONLY))
(CMAKE_SIZEOF_VOID_P EQUAL 8))
set_tests_properties (${name}${setting} PROPERTIES
PASS_REGULAR_EXPRESSION
- "Simplex iterations: ${iter}\nObjective value : ${optval}")
+ "Simplex iterations: [0-9]+\nObjective value : ${optval}")
else()
set_tests_properties (${name}${setting} PROPERTIES
PASS_REGULAR_EXPRESSION
--
2.53.0
|