Enable test.

This commit is contained in:
chriseth 2021-01-19 14:33:48 +01:00
parent aad7297b58
commit 60cb8726f1

View File

@ -4906,6 +4906,8 @@ BOOST_AUTO_TEST_CASE(bare_call_return_data)
}
}
)DELIMITER";
ALSO_VIA_YUL(
DISABLE_EWASM_TESTRUN()
compileAndRun(sourceCode, 0, "C");
ABI_CHECK(callContractFunction("f(string)", encodeDyn(string("return_bool()"))), encodeArgs(true, 0x40, 0x20, true));
ABI_CHECK(callContractFunction("f(string)", encodeDyn(string("return_int32()"))), encodeArgs(true, 0x40, 0x20, u256(-32)));
@ -4923,6 +4925,7 @@ BOOST_AUTO_TEST_CASE(bare_call_return_data)
ABI_CHECK(callContractFunction("check_bytes4()"), encodeArgs(true));
ABI_CHECK(callContractFunction("check_multi()"), encodeArgs(true));
ABI_CHECK(callContractFunction("check_bytes()"), encodeArgs(true));
)
}
}
}