Lines Matching refs:helper
127 std::string helper = GetTestlibRoot() + in TEST() local
130 "ctor: argc=1 argv[0]=" + helper + "\n" + in TEST()
131 "main: argc=1 argv[0]=" + helper + "\n" + in TEST()
135 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
143 std::string helper = GetTestlibRoot() + in TEST() local
146 "ctor: argc=1 argv[0]=" + helper + "\n" + in TEST()
147 "main: argc=1 argv[0]=" + helper + "\n" + in TEST()
151 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
169 std::string helper = GetTestlibRoot() + in TEST() local
171 chmod(helper.c_str(), 0755); // TODO: "x" lost in CTS, b/34945607 in TEST()
173 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
174 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
181 std::string helper = GetTestlibRoot() + in TEST() local
183 chmod(helper.c_str(), 0755); // TODO: "x" lost in CTS, b/34945607 in TEST()
185 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
186 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
196 std::string helper = GetTestlibRoot() + in TEST() local
198 chmod(helper.c_str(), 0755); in TEST()
200 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
201 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST()
207 std::string helper = GetTestlibRoot() + in TEST() local
210 chmod(helper.c_str(), 0755); in TEST()
212 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
219 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST()
238 std::string helper = GetTestlibRoot() + in TEST() local
240 chmod(helper.c_str(), 0755); in TEST()
242 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
243 …eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()
279 std::string helper = GetTestlibRoot() + in TEST() local
284 chmod(helper.c_str(), 0755); in TEST()
286 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
288 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST()
301 std::string helper = GetTestlibRoot() + in TEST() local
307 chmod(helper.c_str(), 0755); in TEST()
309 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
311 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST()
332 std::string helper = GetTestlibRoot() + in TEST() local
337 chmod(helper.c_str(), 0755); in TEST()
339 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
341 …eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()