NAME

test_pse - Printing to stderr with <<TEST>> prefix

SYNOPSIS

#include "l/l_debug.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  
   -I/home/kobus/include
   -L/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas   -lSVM -lstdc++    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lg2c      -lncurses 


void test_pse
(
	const char *format_str,
	...
);

DESCRIPTION

This routine writes a formatted string to stdout with each lined prefixed with <<TEST>>. Normally this routine is only used indirectly using the macro TEST_PSE. Other behaviour is similar to p_stderr. Specifically, it is similar to kjb_fprintf with respect to extended formatting options and paging.

RETURNS

Return is void, as it is normally used with the TEST_PSE macro.

MACROS

This routine is normally accessed using the macro TEST_PSE which sets things up so that the printing only occurrs if TEST is defined. If TEST is not defined, then TEST_PSE becomes nothing (IE, it is removed by the pre-processor). TEST_PSE is used as follows:
    TEST_PSE(( <format>, arg1, arg2, ....)); // Note DOUBLE parens!

MACROS TEST_PSE

RELATED

p_stderr, kjb_fprintf

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

kjb_set_debug_level , kjb_get_debug_level , hex_print , test_pso