GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> MSG / V3-1-2 > test_msg_mt / rhel5-64


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>

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.3 2011/03/25 01:05:53 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.

References MSG_test().

unsigned int MSG_testThread ( unsigned int  model  ) 

Driver for the MSG state transition test suite.

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

References _EQ, MSG_action(), MSG_announceMajor(), and MSG_testInt().

Referenced by MSG_test().


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 Nov 29 17:46:42 2011 by  doxygen 1.5.8