mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Support EVM Version rules for extracted tests.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user