Defines | Functions

tf_test.cpp File Reference

#include "tf_test.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <signal.h>
#include <cstdlib>
#include <glib.h>
#include <gio/gio.h>

Defines

#define VALGRIND_COUNT_ERRORS   0
#define VALGRIND_DO_LEAK_CHECK
#define VALGRIND_COUNT_LEAKS(a, b, c, d)   (a=b=c=d=0)
#define CC_EXTENSION
#define MAX_TEST_TIME   40
#define MAX_TOTAL_TIME   120*60

Functions

static int memerrs ()
static int memleaks ()
static bool prefix_match (const char *s, const char *const *prefixes)

Define Documentation

#define CC_EXTENSION

Referenced by memerrs().

#define MAX_TEST_TIME   40
#define MAX_TOTAL_TIME   120*60

Referenced by TF_Test::check().

#define VALGRIND_COUNT_ERRORS   0
#define VALGRIND_COUNT_LEAKS (   a,
  b,
  c,
  d 
)    (a=b=c=d=0)

Referenced by memleaks().

#define VALGRIND_DO_LEAK_CHECK

Function Documentation

static int memerrs (  )  [static]

References CC_EXTENSION.

Referenced by TF_Test::run().

static int memleaks (  )  [static]

References printf, and VALGRIND_COUNT_LEAKS.

Referenced by TF_Test::run().

static bool prefix_match ( const char *  s,
const char *const *  prefixes 
) [static]

Referenced by TF_Test::run().