Support EVM Version rules for extracted tests.

This commit is contained in:
Daniel Kirchner
2019-03-15 17:23:20 +01:00
parent 48f0d41cc5
commit 4a28e1eb43
19 changed files with 154 additions and 60 deletions
+2 -2
View File
@@ -35,9 +35,9 @@ class SMTCheckerTest: public SyntaxTest
public:
static std::unique_ptr<TestCase> create(Config const& _config)
{
return std::unique_ptr<TestCase>(new SMTCheckerTest(_config.filename));
return std::unique_ptr<TestCase>(new SMTCheckerTest(_config.filename, _config.evmVersion));
}
SMTCheckerTest(std::string const& _filename);
SMTCheckerTest(std::string const& _filename, langutil::EVMVersion _evmVersion);
bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override;