vxWork tests for all subtests; still need to combine them all to one
This commit is contained in:
@@ -2,11 +2,24 @@ TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
PROD_LIBS = pvData Com
|
||||
|
||||
TESTPROD_HOST += testProperty
|
||||
testProperty_SRCS += testProperty.cpp
|
||||
testHarness_SRCS += testProperty.cpp
|
||||
TESTS += testProperty
|
||||
|
||||
testProperty_LIBS += pvData Com
|
||||
# The testHarness runs all the test programs in a known working order.
|
||||
testHarness_SRCS += epicsRunPVDataTests.c
|
||||
|
||||
PROD_vxWorks = vxTestHarness
|
||||
vxTestHarness_SRCS += $(testHarness_SRCS)
|
||||
TESTSPEC_vxWorks = vxTestHarness.$(MUNCH_SUFFIX); epicsRunPVDataTests
|
||||
|
||||
#PROD_RTEMS += rtemsTestHarness
|
||||
#rtemsTestHarness_SRCS += rtemsTestHarness.c
|
||||
#rtemsTestHarness_SRCS += $(testHarness_SRCS)
|
||||
#TESTSPEC_RTEMS = rtemsTestHarness.boot; epicsRunPVDataTests
|
||||
|
||||
TESTSCRIPTS_HOST += $(TESTS:%=%.t)
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Run pvData tests as a batch.
|
||||
*
|
||||
* Do *not* include performance measurements here, they don't help to
|
||||
* prove functionality (which is the point of this convenience routine).
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <epicsThread.h>
|
||||
#include <epicsUnitTest.h>
|
||||
|
||||
int testCreateRequest(void);
|
||||
|
||||
void epicsRunPVDataTests(void)
|
||||
{
|
||||
testHarness();
|
||||
|
||||
runTest(testCreateRequest);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user