[SMTChecker] Relax expectations for complex nonlinear tests

This commit is contained in:
Leonardo Alt
2019-08-11 22:20:31 +02:00
parent f5f2bbb274
commit 955b97097c
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -153,6 +153,19 @@ do \
} \
while(0)
#define CHECK_SUCCESS_OR_WARNING(text, substring) \
do \
{ \
auto sourceAndError = parseAnalyseAndReturnError((text), true); \
auto const& errors = sourceAndError.second; \
if (!errors.empty()) \
{ \
auto message = searchErrors(errors, {{(Error::Type::Warning), (substring)}}); \
BOOST_CHECK_MESSAGE(message.empty(), message); \
} \
} \
while(0)
}
}
}