Lines Matching defs:atf
2 // Automated Testing Framework (atf)
53 #include "atf-c/error.h"
54 #include "atf-c/tc.h"
55 #include "atf-c/utils.h"
68 namespace impl = atf::tests;
69 namespace detail = atf::tests::detail;
70 #define IMPL_NAME "atf::tests"
80 m_os << "Content-Type: application/X-atf-tp; version=\"1\"\n\n";
115 return atf::text::match(str, regexp);
390 class tp : public atf::application::app {
398 atf::fs::path m_resfile;
400 atf::fs::path m_srcdir;
402 atf::tests::vars_map m_vars;
434 "This is an independent atf test program.";
437 app(m_description, "atf-test-program(1)"),
466 using atf::application::option;
488 m_resfile = atf::fs::path(arg);
510 std::vector< std::string > ws = atf::text::split(str, "=");
526 m_srcdir = atf::fs::path(m_argv0).branch_path();
530 m_srcdir = atf::fs::path(m_srcdir_arg);
532 if (!atf::fs::exists(m_srcdir / m_prog_name))
612 throw atf::application::usage_error("Unknown test case `%s'",
631 using atf::application::usage_error;
644 if (!atf::env::has("__RUNNING_INSIDE_ATF_RUN") || atf::env::get(
648 "atf-run(1) is unsupported\n";
651 "atf-test-case(4)\n";
675 using atf::application::usage_error;
700 namespace atf {