GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-1-1

Constituent: test_msg_mt     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MSG_test.c File Reference

Runs a collection of tests of the message system. More...

#include <stdio.h>
#include "PBS/PBS.h"
#include "MSG_tstdefs.h"

Include dependency graph for MSG_test.c:


Functions

unsigned int MSG_testBuffer (void)
 Driver for the MSG buffering test suite.
unsigned int MSG_testFormat (void)
 Driver for the MSG formatting test suite.
unsigned int MSG_testNoTask (void)
 Driver for the MSG state transition test suite.
unsigned int MSG_testOptions (void)
 Driver for the MSG options test suite.
unsigned int MSG_testState (void)
 Driver for the MSG state transition test suite.
unsigned int MSG_testThread (unsigned int model)
 Driver for the MSG state transition test suite.
unsigned int MSG_test (void)
 Driver for the MSG single-threaded test.
int main (int pcnt, char *parm[])
 Program to drive the single threaded MSG test suite.

Variables

static const unsigned int want_thread = 1
 Carry knowledge of the threading model into the run time environment.

Detailed Description

Runs a collection of tests of the message system.

CVS $Id: MSG_test.c,v 1.2 2004/05/14 04:59:24 apw Exp $
Author:
A.P.Waite

Function Documentation

int main int  pcnt,
char *  parm[]
 

Program to drive the single threaded MSG test suite.

Parameters:
pcnt (in) Number of argument tokens
parm (in) Pointers to argument tokens
Return values:
0 Success
1 Failure
Main routine for unix host systems, used to drive the single threaded test suite of the MSG system.

unsigned int MSG_testThread unsigned int  model  ) 
 

Driver for the MSG state transition test suite.

Parameters:
model Threading model (0/1 single/multi)


Variable Documentation

static const unsigned int want_thread = 1 [static]
 

Carry knowledge of the threading model into the run time environment.

Used mainly for testing purposes.


Generated on Tue Dec 4 11:31:26 2007 by  doxygen 1.4.4