Lines Matching refs:test

155     struct c_o_test *test;  in ATF_TC_BODY()  local
157 for (test = c_o_tests; test->expargv[0] != NULL; test++) { in ATF_TC_BODY()
158 printf("> Test: %s\n", test->msg); in ATF_TC_BODY()
160 verbose_set_env("ATF_BUILD_CC", test->cc); in ATF_TC_BODY()
161 verbose_set_env("ATF_BUILD_CFLAGS", test->cflags); in ATF_TC_BODY()
162 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags); in ATF_TC_BODY()
166 if (test->hasoptargs) in ATF_TC_BODY()
167 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
170 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
171 check_equal_array(test->expargv, argv); in ATF_TC_BODY()
184 struct cpp_test *test; in ATF_TC_BODY() local
186 for (test = cpp_tests; test->expargv[0] != NULL; test++) { in ATF_TC_BODY()
187 printf("> Test: %s\n", test->msg); in ATF_TC_BODY()
189 verbose_set_env("ATF_BUILD_CPP", test->cpp); in ATF_TC_BODY()
190 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags); in ATF_TC_BODY()
194 if (test->hasoptargs) in ATF_TC_BODY()
195 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
198 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
199 check_equal_array(test->expargv, argv); in ATF_TC_BODY()
212 struct cxx_o_test *test; in ATF_TC_BODY() local
214 for (test = cxx_o_tests; test->expargv[0] != NULL; test++) { in ATF_TC_BODY()
215 printf("> Test: %s\n", test->msg); in ATF_TC_BODY()
217 verbose_set_env("ATF_BUILD_CXX", test->cxx); in ATF_TC_BODY()
218 verbose_set_env("ATF_BUILD_CXXFLAGS", test->cxxflags); in ATF_TC_BODY()
219 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags); in ATF_TC_BODY()
223 if (test->hasoptargs) in ATF_TC_BODY()
224 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
227 RE(atf_build_cxx_o(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
228 check_equal_array(test->expargv, argv); in ATF_TC_BODY()