Introduced TestCase::shouldRun().

This commit is contained in:
a3d4
2020-03-09 15:52:20 +01:00
parent b7c001eb7f
commit 29b770c434
10 changed files with 48 additions and 53 deletions
+2 -1
View File
@@ -161,7 +161,8 @@ TestTool::Result TestTool::process()
(AnsiColorized(cout, formatted, {BOLD}) << m_name << ": ").flush();
m_test = m_testCaseCreator(TestCase::Config{m_path.string(), m_options.evmVersion()});
if (m_test->validateSettings(m_options.evmVersion()))
m_test->validateSettings();
if (m_test->shouldRun())
switch (TestCase::TestResult result = m_test->run(outputMessages, " ", formatted))
{
case TestCase::TestResult::Success: