#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "tap.h"
Defines | |
#define | LOCK |
#define | UNLOCK |
Functions | |
static void | _expected_tests (unsigned int) |
static void | _tap_init (void) |
static void | _cleanup (void) |
unsigned int | _gen_result (int ok, const char *func, char *file, unsigned int line, char *test_name,...) |
int | plan_no_plan (void) |
int | plan_skip_all (char *reason) |
int | plan_tests (unsigned int tests) |
unsigned int | diag (char *fmt,...) |
int | skip (unsigned int n, char *fmt,...) |
void | todo_start (char *fmt,...) |
void | todo_end (void) |
int | exit_status (void) |
Variables | |
static int | no_plan = 0 |
static int | skip_all = 0 |
static int | have_plan = 0 |
static unsigned int | test_count = 0 |
static unsigned int | e_tests = 0 |
static unsigned int | failures = 0 |
static char * | todo_msg = NULL |
static char * | todo_msg_fixed = "libtap malloc issue" |
static int | todo = 0 |
static int | test_died = 0 |
#define LOCK |
#define UNLOCK |
void _cleanup | ( | void | ) | [static] |
void _expected_tests | ( | unsigned | int | ) | [static] |
unsigned int _gen_result | ( | int | ok, | |
const char * | func, | |||
char * | file, | |||
unsigned int | line, | |||
char * | test_name, | |||
... | ||||
) |
void _tap_init | ( | void | ) | [static] |
unsigned int diag | ( | char * | fmt, | |
... | ||||
) |
int exit_status | ( | void | ) |
int plan_no_plan | ( | void | ) |
int plan_skip_all | ( | char * | reason | ) |
int plan_tests | ( | unsigned int | tests | ) |
int skip | ( | unsigned int | n, | |
char * | fmt, | |||
... | ||||
) |
void todo_end | ( | void | ) |
void todo_start | ( | char * | fmt, | |
... | ||||
) |
unsigned int e_tests = 0 [static] |
unsigned int failures = 0 [static] |
int have_plan = 0 [static] |
int no_plan = 0 [static] |
int skip_all = 0 [static] |
unsigned int test_count = 0 [static] |
int test_died = 0 [static] |
int todo = 0 [static] |
char* todo_msg = NULL [static] |
char* todo_msg_fixed = "libtap malloc issue" [static] |