[isoltest] Adding gas used as semantic tests expectation.

This commit is contained in:
Djordje Mijovic
2021-03-09 21:26:36 +01:00
parent ad5d34df74
commit 6d51dfb617
7 changed files with 185 additions and 109 deletions
+3
View File
@@ -61,6 +61,7 @@ public:
private:
TestResult runTest(std::ostream& _stream, std::string const& _linePrefix, bool _formatted, bool _compileViaYul, bool _compileToEwasm);
bool checkGasCostExpectation(TestFunctionCall& io_test, bool _compileViaYul) const;
SourceMap m_sources;
std::size_t m_lineOffset;
std::vector<TestFunctionCall> m_tests;
@@ -72,6 +73,8 @@ private:
bool m_allowNonExistingFunctions = false;
bool m_compileViaYulCanBeSet = false;
std::map<std::string, Builtin> m_builtins{};
bool m_gasCostFailure = false;
};
}