Lines Matching refs:test
114 // Internal test cases.
120 set_md_var("descr", "Tests the test case internal equal_argvs function");
164 for (struct c_o_test* test = c_o_tests; test->expargv[0] != NULL;
165 test++) {
166 std::cout << "> Test: " << test->msg << "\n";
168 verbose_set_env("ATF_BUILD_CC", test->cc);
169 verbose_set_env("ATF_BUILD_CFLAGS", test->cflags);
170 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags);
174 atf::build::c_o(test->sfile, test->ofile,
175 atf::process::argv_array(test->optargs));
176 check_equal_argvs(argv, test->expargv);
187 for (struct cpp_test* test = cpp_tests; test->expargv[0] != NULL;
188 test++) {
189 std::cout << "> Test: " << test->msg << "\n";
191 verbose_set_env("ATF_BUILD_CPP", test->cpp);
192 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags);
196 atf::build::cpp(test->sfile, test->ofile,
197 atf::process::argv_array(test->optargs));
198 check_equal_argvs(argv, test->expargv);
209 for (struct cxx_o_test* test = cxx_o_tests; test->expargv[0] != NULL;
210 test++) {
211 std::cout << "> Test: " << test->msg << "\n";
213 verbose_set_env("ATF_BUILD_CXX", test->cxx);
214 verbose_set_env("ATF_BUILD_CXXFLAGS", test->cxxflags);
215 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags);
219 atf::build::cxx_o(test->sfile, test->ofile,
220 atf::process::argv_array(test->optargs));
221 check_equal_argvs(argv, test->expargv);
237 // Add the internal test cases.
240 // Add the test cases for the free functions.
245 // Add the test cases for the header file.