Lines Matching refs:ATF_REQUIRE
102 ATF_REQUIRE(atf::check::build_c_o("test.c", "test.o",
117 ATF_REQUIRE(!atf::check::build_c_o("test.c", "test.o",
134 ATF_REQUIRE(atf::check::build_cpp("test.c", "test.p",
149 ATF_REQUIRE(!atf::check::build_cpp("test.c", "test.p",
164 ATF_REQUIRE(atf::check::build_cxx_o("test.cpp", "test.o",
179 ATF_REQUIRE(!atf::check::build_cxx_o("test.cpp", "test.o",
196 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
197 ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout"));
201 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
202 ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout"));
203 ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr"));
204 ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr"));
216 ATF_REQUIRE(atf::utils::grep_file("-o.*test.p", "stdout"));
217 ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout"));
218 ATF_REQUIRE(atf::utils::grep_file("foo bar", "test.p"));
222 ATF_REQUIRE(atf::utils::grep_file("-o test.p", "stdout"));
223 ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout"));
224 ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr"));
225 ATF_REQUIRE(atf::utils::grep_file("non-existent.h", "stderr"));
237 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
238 ATF_REQUIRE(atf::utils::grep_file("-c test.cpp", "stdout"));
242 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
243 ATF_REQUIRE(atf::utils::grep_file("-c test.cpp", "stdout"));
244 ATF_REQUIRE(atf::utils::grep_file("test.cpp", "stderr"));
245 ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr"));
264 ATF_REQUIRE(atf::fs::exists(*out.get()));
265 ATF_REQUIRE(atf::fs::exists(*err.get()));
267 ATF_REQUIRE(!atf::fs::exists(*out.get()));
268 ATF_REQUIRE(!atf::fs::exists(*err.get()));
282 ATF_REQUIRE(r->exited());
283 ATF_REQUIRE(!r->signaled());
290 ATF_REQUIRE(r->exited());
291 ATF_REQUIRE(!r->signaled());
298 ATF_REQUIRE(!r->exited());
299 ATF_REQUIRE(r->signaled());
310 ATF_REQUIRE(f);
331 ATF_REQUIRE(r1->exited());
336 ATF_REQUIRE(r2->exited());
344 ATF_REQUIRE(out1.find("check.XXXXXX") == std::string::npos);
345 ATF_REQUIRE(out2.find("check.XXXXXX") == std::string::npos);
346 ATF_REQUIRE(err1.find("check.XXXXXX") == std::string::npos);
347 ATF_REQUIRE(err2.find("check.XXXXXX") == std::string::npos);
349 ATF_REQUIRE(out1.find("/check") != std::string::npos);
350 ATF_REQUIRE(out2.find("/check") != std::string::npos);
351 ATF_REQUIRE(err1.find("/check") != std::string::npos);
352 ATF_REQUIRE(err2.find("/check") != std::string::npos);
354 ATF_REQUIRE(out1.find("/stdout") != std::string::npos);
355 ATF_REQUIRE(out2.find("/stdout") != std::string::npos);
356 ATF_REQUIRE(err1.find("/stderr") != std::string::npos);
357 ATF_REQUIRE(err2.find("/stderr") != std::string::npos);
359 ATF_REQUIRE(out1 != out2);
360 ATF_REQUIRE(err1 != err2);
381 ATF_REQUIRE(r->exited());