Lines Matching defs:tp
44 #include "atf-c/tp.h"
249 list_tcs(const atf_tp_t *tp)
254 printf("Content-Type: application/X-atf-tp; version=\"1\"\n\n");
256 tcs = atf_tp_get_tcs(tp);
486 run_tc(const atf_tp_t *tp, struct params *p, int *exitcode)
492 if (!atf_tp_has_tc(tp, p->m_tcname)) {
507 err = atf_tp_run(tp, p->m_tcname, atf_fs_path_cstring(&p->m_resfile));
519 err = atf_tp_cleanup(tp, p->m_tcname);
547 atf_tp_t tp;
563 err = atf_tp_init(&tp, (const char* const*)raw_config);
568 err = add_tcs_hook(&tp);
573 list_tcs(&tp);
577 err = run_tc(&tp, &p, exitcode);
581 atf_tp_fini(&tp);