Lines Matching refs:test
105 // Internal test cases.
111 set_md_var("descr", "Tests the test case internal equal_argvs function");
155 for (struct c_o_test* test = c_o_tests; test->expargv[0] != NULL;
156 test++) {
157 std::cout << "> Test: " << test->msg << "\n";
159 verbose_set_env("ATF_BUILD_CC", test->cc);
160 verbose_set_env("ATF_BUILD_CFLAGS", test->cflags);
161 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags);
164 atf::build::c_o(test->sfile, test->ofile,
165 atf::process::argv_array(test->optargs));
166 check_equal_argvs(argv, test->expargv);
177 for (struct cpp_test* test = cpp_tests; test->expargv[0] != NULL;
178 test++) {
179 std::cout << "> Test: " << test->msg << "\n";
181 verbose_set_env("ATF_BUILD_CPP", test->cpp);
182 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags);
185 atf::build::cpp(test->sfile, test->ofile,
186 atf::process::argv_array(test->optargs));
187 check_equal_argvs(argv, test->expargv);
198 for (struct cxx_o_test* test = cxx_o_tests; test->expargv[0] != NULL;
199 test++) {
200 std::cout << "> Test: " << test->msg << "\n";
202 verbose_set_env("ATF_BUILD_CXX", test->cxx);
203 verbose_set_env("ATF_BUILD_CXXFLAGS", test->cxxflags);
204 verbose_set_env("ATF_BUILD_CPPFLAGS", test->cppflags);
207 atf::build::cxx_o(test->sfile, test->ofile,
208 atf::process::argv_array(test->optargs));
209 check_equal_argvs(argv, test->expargv);
219 // Add the internal test cases.
222 // Add the test cases for the free functions.