mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
TestFramework: Merge Options.h into Common.h
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
* Unit tests for the compilability checker.
|
||||
*/
|
||||
|
||||
#include <test/Options.h>
|
||||
#include <test/Common.h>
|
||||
|
||||
#include <test/libyul/Common.h>
|
||||
#include <libyul/backends/evm/EVMDialect.h>
|
||||
@@ -39,7 +39,7 @@ string check(string const& _input)
|
||||
Object obj;
|
||||
std::tie(obj.code, obj.analysisInfo) = yul::test::parse(_input, false);
|
||||
BOOST_REQUIRE(obj.code);
|
||||
map<YulString, int> functions = CompilabilityChecker::run(EVMDialect::strictAssemblyForEVM(solidity::test::Options::get().evmVersion()), obj, true);
|
||||
map<YulString, int> functions = CompilabilityChecker::run(EVMDialect::strictAssemblyForEVM(solidity::test::CommonOptions::get().evmVersion()), obj, true);
|
||||
string out;
|
||||
for (auto const& function: functions)
|
||||
out += function.first.str() + ": " + to_string(function.second) + " ";
|
||||
|
||||
Reference in New Issue
Block a user