Skip to content

Commit

Permalink
EVMCodeTransformTest: Only run for the current EVM version
Browse files Browse the repository at this point in the history
  • Loading branch information
clonker committed Dec 11, 2024
1 parent f301f85 commit 8522c28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/libyul/EVMCodeTransformTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ EVMCodeTransformTest::EVMCodeTransformTest(std::string const& _filename):
m_source = m_reader.source();
m_stackOpt = m_reader.boolSetting("stackOptimization", false);
m_expectation = m_reader.simpleExpectations();
m_shouldRun = CommonOptions::get().evmDialect().evmVersion() == EVMVersion{};
}

TestCase::TestResult EVMCodeTransformTest::run(std::ostream& _stream, std::string const& _linePrefix, bool const _formatted)
Expand Down

0 comments on commit 8522c28

Please sign in to comment.