Stop after parsing.

This commit is contained in:
chriseth
2020-09-30 16:57:49 +02:00
committed by Mathias Baumann
parent 4c02cd2310
commit fda8bde2d7
70 changed files with 5440 additions and 105 deletions
+5 -3
View File
@@ -34,7 +34,6 @@ class CompilerStack;
namespace solidity::frontend::test
{
class ASTJSONTest: public TestCase
{
public:
@@ -50,9 +49,9 @@ private:
bool runTest(
std::string& _expectation,
std::string& _result,
std::map<std::string, unsigned> const& _sourceIndicies,
std::map<std::string, unsigned> const& _sourceIndices,
CompilerStack& _compiler,
bool _legacy,
bool _parseOnly,
std::string const& _variation,
std::ostream& _stream,
std::string const& _linePrefix = "",
@@ -66,10 +65,13 @@ private:
std::vector<std::pair<std::string, std::string>> m_sources;
std::string m_expectationLegacy;
std::string m_expectationParseOnly;
std::string m_astFilename;
std::string m_astParseOnlyFilename;
std::string m_legacyAstFilename;
std::string m_result;
std::string m_resultLegacy;
std::string m_resultParseOnly;
};
}