#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include "rtapClasses/rtTypes.h"
#include "db.h"
#include "msg.h"
#include "tims.h"
#include "err.h"
#include "log.h"
Go to the source code of this file.
Define Documentation
#define ABORT |
( |
|
reason |
) |
{ PRINT_ERROR(reason); goto abort; } |
#define CLEAN |
( |
|
reason |
) |
{ PRINT_ERROR(reason); goto clean; } |
#define PRINT_ERROR |
( |
|
reason |
) |
|
Value:{\
printf("File %s line %d\n", __FILE__, __LINE__); \
printf("Failure: %s\n", reason); \
printf("Error structure\n"); \
printf(" EnvName : %s\n", error.envName); \
printf(" StackId : %x\n", error.stackId.id); \
printf(" SequenceNbr: %d\n", error.sequenceNumber);\
printf(" ModuleId : %s\n", error.moduleId); \
printf(" LocationId : %s\n", error.location); \
printf(" ErrorNumber: %d\n", error.errorNumber); \
printf(" Parameters : %s\n", error.runTimePar); \
errCloseStack(&error); \
}
#define TEST_FAILED |
( |
|
testName |
) |
{ printf("%s - FAIL\n", testName); exit(EXIT_FAILURE); } |
#define TEST_SUCCEEDED |
( |
|
testName |
) |
{ printf("%s - PASS\n", testName); exit(EXIT_SUCCESS); } |
Function Documentation
void vltMakeTestProcedure1 |
( |
|
) |
|
void vltMakeTestProcedure2 |
( |
|
) |
|