1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[ORC] Temporarily fix the RPCUtils unit test by explicitly specifying a handler

return type.

This should be fixed permanently by having the RPCUtils header recognize the
ErrorSuccess type. I'll commit that in a follow up patch.

llvm-svn: 286646
This commit is contained in:
Lang Hames 2016-11-11 22:16:10 +00:00
parent 3021224cb0
commit d1365047a1

View File

@ -191,7 +191,7 @@ TEST(DummyRPC, TestSerialization) {
Server.addHandler<DummyRPCAPI::AllTheTypes>(
[&](int8_t S8, uint8_t U8, int16_t S16, uint16_t U16,
int32_t S32, uint32_t U32, int64_t S64, uint64_t U64,
bool B, std::string S, std::vector<int> V) {
bool B, std::string S, std::vector<int> V) -> Error {
EXPECT_EQ(S8, -101) << "int8_t serialization broken";
EXPECT_EQ(U8, 250) << "uint8_t serialization broken";