mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge remote-tracking branch 'upstream/develop' into randomtests
This commit is contained in:
commit
22d738b995
@ -28,6 +28,10 @@
|
|||||||
#include <libdevcrypto/SHA3.h>
|
#include <libdevcrypto/SHA3.h>
|
||||||
#include <test/solidityExecutionFramework.h>
|
#include <test/solidityExecutionFramework.h>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(disable: 4307) //integral constant overflow for high_bits_cleaning
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
namespace dev
|
namespace dev
|
||||||
|
@ -23,6 +23,6 @@
|
|||||||
#define BOOST_TEST_MODULE EthereumTests
|
#define BOOST_TEST_MODULE EthereumTests
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||||
|
#define BOOST_DISABLE_WIN32 //disables SEH warning
|
||||||
#include <boost/test/included/unit_test.hpp>
|
#include <boost/test/included/unit_test.hpp>
|
||||||
#pragma warning(pop)
|
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
2
vm.cpp
2
vm.cpp
@ -345,7 +345,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
|
|||||||
output = vm->go(fev, fev.simpleTrace()).toBytes();
|
output = vm->go(fev, fev.simpleTrace()).toBytes();
|
||||||
gas = vm->gas();
|
gas = vm->gas();
|
||||||
}
|
}
|
||||||
catch (VMException const& _e)
|
catch (VMException const&)
|
||||||
{
|
{
|
||||||
cnote << "Safe VM Exception";
|
cnote << "Safe VM Exception";
|
||||||
vmExceptionOccured = true;
|
vmExceptionOccured = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user