aboutsummaryrefslogtreecommitdiffstats
path: root/test/TestHelper.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-23 00:21:26 +0800
committerchriseth <chris@ethereum.org>2018-03-02 00:19:35 +0800
commitf2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4 (patch)
tree80555ec0e8139a30bfd7bc83cc1acf811eada487 /test/TestHelper.h
parent83515eadcf21decc9355c69c621c4d530a62b04e (diff)
downloaddexon-solidity-f2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4.tar.gz
dexon-solidity-f2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4.tar.zst
dexon-solidity-f2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4.zip
Test both EVM versions.
Diffstat (limited to 'test/TestHelper.h')
-rw-r--r--test/TestHelper.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/TestHelper.h b/test/TestHelper.h
index d25c5cd8..69ac458a 100644
--- a/test/TestHelper.h
+++ b/test/TestHelper.h
@@ -19,11 +19,14 @@
#pragma once
-#include <functional>
+#include <libsolidity/interface/EVMVersion.h>
+
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <boost/version.hpp>
+#include <functional>
+
namespace dev
{
namespace test
@@ -33,6 +36,7 @@ struct Options: boost::noncopyable
{
std::string ipcPath;
bool showMessages = false;
+ std::string evmVersion;
bool optimize = false;
bool disableIPC = false;
bool disableSMT = false;