mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13755 from ethereum/smt_fix_nondet
Make isoltest not check SMTChecker counterexamples by default
This commit is contained in:
commit
7070a1721f
@ -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