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
+6
View File
@@ -18,6 +18,7 @@
#pragma once
#include <libdevcore/Exceptions.h>
#include <liblangutil/EVMVersion.h>
#include <boost/filesystem/path.hpp>
#include <boost/program_options.hpp>
@@ -39,6 +40,8 @@ struct CommonOptions: boost::noncopyable
bool disableIPC = false;
bool disableSMT = false;
langutil::EVMVersion evmVersion() const;
virtual bool parse(int argc, char const* const* argv);
// Throws a ConfigException on error
virtual void validate() const;
@@ -47,6 +50,9 @@ protected:
CommonOptions(std::string caption = "");
boost::program_options::options_description options;
private:
std::string evmVersionString;
};
}