Andrew Johnson
f1439f8b1c
Fix epicsStdioTest for MS 2015 compiler
2016-11-15 09:56:42 -06:00
Andrew Johnson
6f9f5498b4
libCom/test: Add diagnostic to epicsStdioTest on vxWorks
...
This test fails if the cwd is not writable, but on vxWorks the
fault appears at the fclose() not the fopen() line. The code
now detects this and tells the user what's probably wrong.
2012-02-03 16:12:06 -06:00
Andrew Johnson
31d149d8d9
Fixed 64 bit compiler warnings from Tom Palaia/MacOS.
2009-04-23 18:49:40 +00:00
Ralph Lange
7fccc59fe9
ANSIfication of stuff (mostly missing argument types in declarations)
2009-04-03 17:46:26 +00:00
Andrew Johnson
b3abcbb52e
Don't fail if epicsSnprintf returns less than the buffer size needed.
2008-10-20 15:35:10 +00:00
Andrew Johnson
896223e819
Fixed compiler warning.
2008-09-26 17:00:17 +00:00
Andrew Johnson
477466e517
Windows runs more tests because it outputs 3 digit exponents.
...
Fix tests and test plan to accommodate this.
2008-08-26 15:01:47 +00:00
Andrew Johnson
6c19051727
Major reorganization:
...
Removed all Main.cpp files, use the macro in testMain.h instead and
defaulted all argc/argv parameters.
Converted all real test programs to use epicsUnitTest.h.
Moved performance measurements from epicsThreadTest to epicsThreadPerform.
Moved epicsOkToBlockTest tests into epicsThreadTest.
On a host arch, make test inside the O.arch directory runs all tests.
2006-11-09 22:38:41 +00:00
W. Eric Norum
5ee8b58411
Don't test 0-length buffer case -- semantics differ for C99/Single-Unix.
2006-10-26 20:51:56 +00:00
W. Eric Norum
54ad02986b
Add checks that redirection worked -- handy for systems like RTEMS
...
where the file exists only in a in-memory filesystem.
2006-10-26 20:07:24 +00:00
Andrew Johnson
4d67f3596a
Converted some of the test routines to use the new epicsUnitTest facility.
2006-03-30 20:13:25 +00:00
W. Eric Norum
cd4b7ba067
Work around problem with iocsh redirection from within vxWorks scripts.
2005-01-10 15:09:26 +00:00
Marty Kraimer
ad878fc71d
printf now overridden
2004-07-08 20:48:35 +00:00
Marty Kraimer
cb430154d0
add test of epicsGetStdout/epicsPutStdout
2004-07-08 12:08:14 +00:00
Marty Kraimer
f3380f81f0
epicsStdio is new
2003-03-25 17:03:29 +00:00