• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:eth

118   ExecTestHelper eth;  in TEST()  local
119 eth.SetArgs({ path_to_linker, nullptr }); in TEST()
120 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
121 ASSERT_EQ(0u, eth.GetOutput().find(usage_prefix)) << "Test output:\n" << eth.GetOutput(); in TEST()
135 ExecTestHelper eth; in TEST() local
136 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
137eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST()
151 ExecTestHelper eth; in TEST() local
152 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
153eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST()
161 ExecTestHelper eth; in TEST() local
162 eth.SetArgs({ path_to_linker, path_to_linker, nullptr }); in TEST()
163eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()
173 ExecTestHelper eth; in TEST() local
174 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
175 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
185 ExecTestHelper eth; in TEST() local
186 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
187 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
200 ExecTestHelper eth; in TEST() local
201 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
202 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST()
212 ExecTestHelper eth; in TEST() local
213 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
214 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
220 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST()
242 ExecTestHelper eth; in TEST() local
243 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
244eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()
297 ExecTestHelper eth; in TEST() local
298 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
299 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
300 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
335 ExecTestHelper eth; in TEST() local
336 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
337 eth.SetEnv({ env.c_str(), env2.c_str(), nullptr }); in TEST()
338 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
375 ExecTestHelper eth; in TEST() local
376 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
377 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
378eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()
386 ExecTestHelper eth; in RelocationsTest() local
387 eth.SetArgs({ "readelf", "-SW", path.c_str(), nullptr }); in RelocationsTest()
388 eth.Run([&]() { execvpe("readelf", eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in RelocationsTest()
390 ASSERT_TRUE(std::regex_search(eth.GetOutput(), std::regex(expectation))) << eth.GetOutput(); in RelocationsTest()