aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-04-07 04:33:32 +0800
committerGav Wood <i@gavwood.com>2015-04-07 04:33:32 +0800
commitef912bdb04912aedd10418c54a3c8615459b5790 (patch)
treebc871da10d0ddcea92bc839a5f111b4f305184d9 /SolidityEndToEndTest.cpp
parentac32ee3ec7f960f80442b00e55455661fa94572d (diff)
downloaddexon-solidity-ef912bdb04912aedd10418c54a3c8615459b5790.tar
dexon-solidity-ef912bdb04912aedd10418c54a3c8615459b5790.tar.gz
dexon-solidity-ef912bdb04912aedd10418c54a3c8615459b5790.tar.bz2
dexon-solidity-ef912bdb04912aedd10418c54a3c8615459b5790.tar.lz
dexon-solidity-ef912bdb04912aedd10418c54a3c8615459b5790.tar.xz
dexon-solidity-ef912bdb04912aedd10418c54a3c8615459b5790.tar.zst
dexon-solidity-ef912bdb04912aedd10418c54a3c8615459b5790.zip
Disable SHA256/RIPEMD tests for now.
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r--SolidityEndToEndTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index b4da0789..b169263d 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -1414,6 +1414,8 @@ BOOST_AUTO_TEST_CASE(sha3)
testSolidityAgainstCpp("a(bytes32)", f, u256(-1));
}
+#ifdef PRECOMPILED_CONTRACTS_GAS_FIXED_IN_SOLIDITY
+
BOOST_AUTO_TEST_CASE(sha256)
{
char const* sourceCode = "contract test {\n"
@@ -1468,6 +1470,8 @@ BOOST_AUTO_TEST_CASE(ecrecover)
BOOST_CHECK(callContractFunction("a(bytes32,uint8,bytes32,bytes32)", h, v, r, s) == encodeArgs(addr));
}
+#endif
+
BOOST_AUTO_TEST_CASE(inter_contract_calls)
{
char const* sourceCode = R"(