example: add testing on RTEMS
This commit is contained in:
28
exampleApp/test/epicsRunExampleTests.c
Normal file
28
exampleApp/test/epicsRunExampleTests.c
Normal file
@@ -0,0 +1,28 @@
|
||||
/*************************************************************************\
|
||||
* Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
|
||||
* National Laboratory.
|
||||
* EPICS BASE is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
\*************************************************************************/
|
||||
|
||||
/*
|
||||
* Run Example tests as a batch.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "epicsUnitTest.h"
|
||||
#include "epicsExit.h"
|
||||
#include "dbmf.h"
|
||||
|
||||
int exampleTest(void);
|
||||
|
||||
void epicsRunExampleTests(void)
|
||||
{
|
||||
testHarness();
|
||||
|
||||
runTest(exampleTest);
|
||||
|
||||
dbmfFreeChunks();
|
||||
|
||||
epicsExit(0); /* Trigger test harness */
|
||||
}
|
||||
Reference in New Issue
Block a user