FuzzTests: simple block test + NOBOOST flag

This commit is contained in:
Dimitry 2015-06-17 18:31:14 +03:00
parent 9db2beacc2
commit 1a88eaa6bd

View File

@ -31,8 +31,7 @@
#include <libevm/ExtVMFace.h>
#include <libtestutils/Common.h>
#define DONTUSE_BOOST_MACROS
#ifdef DONTUSE_BOOST_MACROS
#ifdef NOBOOST
#define TBOOST_THROW_EXCEPTION(arg) throw dev::Exception();
#define TBOOST_REQUIRE(arg) if(arg == false) throw dev::Exception();
#define TBOOST_REQUIRE_EQUAL(arg1, arg2) if(arg1 != arg2) throw dev::Exception();