Break osiTimeTest into two parts like the other tests.

Build IOC version of osiTimeTest.
This commit is contained in:
W. Eric Norum
2000-02-26 17:55:40 +00:00
parent 8c60195f4b
commit 46dff5ec2b
3 changed files with 15 additions and 3 deletions

View File

@@ -23,8 +23,9 @@ OBJS_IOC += threadTest
#fdmgrTest_SRCS += fdmgrTest.c
#PROD += fdmgrTest
osiTimeTest_SRCS += osiTimeTest.cc
PROD += osiTimeTest
osiTimeTestHost_SRCS += osiTimeTestMain.c osiTimeTest.cc
PROD += osiTimeTestHost
OBJS_IOC += osiTimeTest
SYS_PROD_LIBS_solaris += pthread thread posix4

View File

@@ -6,8 +6,11 @@
#include "osiThread.h"
#include "epicsAssert.h"
extern "C" {
int osiTimeTest (void);
}
int main ()
int osiTimeTest (void)
{
unsigned i;
osiTime begin = osiTime::getCurrent();

View File

@@ -0,0 +1,8 @@
#include <stdio.h>
int osiTimeTest (void);
int main (int argc, char **argv)
{
return osiTimeTest ();
}