mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make isoltest not check SMTChecker counterexamples by default.
This commit is contained in:
parent
3f17e0e1ca
commit
be8b05e6bf
@ -63,7 +63,7 @@ SMTCheckerTest::SMTCheckerTest(string const& _filename): SyntaxTest(_filename, E
|
|||||||
if (m_modelCheckerSettings.solvers.none() || m_modelCheckerSettings.engine.none())
|
if (m_modelCheckerSettings.solvers.none() || m_modelCheckerSettings.engine.none())
|
||||||
m_shouldRun = false;
|
m_shouldRun = false;
|
||||||
|
|
||||||
auto const& ignoreCex = m_reader.stringSetting("SMTIgnoreCex", "no");
|
auto const& ignoreCex = m_reader.stringSetting("SMTIgnoreCex", "yes");
|
||||||
if (ignoreCex == "no")
|
if (ignoreCex == "no")
|
||||||
m_ignoreCex = false;
|
m_ignoreCex = false;
|
||||||
else if (ignoreCex == "yes")
|
else if (ignoreCex == "yes")
|
||||||
@ -129,5 +129,8 @@ void SMTCheckerTest::filterObtainedErrors()
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (m_ignoreCex)
|
if (m_ignoreCex)
|
||||||
|
{
|
||||||
|
removeCex(m_expectations);
|
||||||
removeCex(m_errorList);
|
removeCex(m_errorList);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user