Commit Graph

2479 Commits

Author SHA1 Message Date
Andrew Johnson 0563bebee0 Removed definition of NULL. 2006-10-31 20:37:34 +00:00
W. Eric Norum 39a8d90553 Let epicsExitTest work on systems with strict priority scheduling. 2006-10-27 16:32:40 +00:00
W. Eric Norum f046ff86be Exit properly. 2006-10-27 16:10:34 +00:00
W. Eric Norum fd81d5f7ca Add epicsExit test.
Clean up some typos.
2006-10-27 15:43:49 +00:00
W. Eric Norum 8f5c1bb7a3 Add test harness for RTEMS. 2006-10-27 15:36:26 +00:00
Andrew Johnson 6c10ea0ad4 Modified diagnostic about macLib warnings to clarify. 2006-10-27 15:01:34 +00:00
Andrew Johnson a1e28f3dec Fixed problem not resetting test count properly. 2006-10-26 22:21:08 +00:00
Andrew Johnson 20d6352d66 Solaris strtod() doesn't accept "Inf" or "Infinity". 2006-10-26 21:19:32 +00:00
Andrew Johnson 5a561ca613 Make epicsStrtod() parse the full "Infinity" and not stop after "Inf". 2006-10-26 21:18:05 +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 5dd24b7ad2 Permit multiple test programs to be run sequentially in the same process
(for RTEMS and vxWorks).
2006-10-26 19:28:30 +00:00
W. Eric Norum 594a28d221 Don't leave dandling tasks. 2006-10-26 19:08:58 +00:00
W. Eric Norum a16bc712d8 Allow calls from C test harnesses. 2006-10-26 18:10:34 +00:00
Andrew Johnson c2755088e6 Cleanup. 2006-10-26 17:47:47 +00:00
W. Eric Norum 8264714ea7 Improve message. 2006-10-26 17:42:02 +00:00
Andrew Johnson e98b305246 Fix up calc and calcout record and associated code to use the new features
of postfix() and calcPerform().
2006-10-03 20:22:23 +00:00
Andrew Johnson e4a80f2350 Cleanup, added workaround text. 2006-10-03 15:36:51 +00:00
Andrew Johnson eeac94ca3b Fix errors from MS compiler, which overloads pow() in C++. 2006-10-02 18:01:44 +00:00
Ralph Lange 61600b730a Fix for skipping over the first ifreq list element, += ifreqSize wrapper function. 2006-09-21 20:28:55 +00:00
Ralph Lange 952731fdd9 += Change for arm. == This should be BSP dependent, not CPU dependent! == 2006-09-19 16:18:26 +00:00
Ralph Lange 178f8e9008 Problem fixed that was found on ARM: ifreq buffer must always be word-aligned when passed to kernel functions. 2006-09-19 16:13:34 +00:00
Jeff Hill ca95134827 added missing include 2006-09-13 21:54:13 +00:00
Jeff Hill bbd210d626 fixed missing shutdown for log client thread 2006-09-12 20:47:04 +00:00
W. Eric Norum 641bbb29a0 Don't use C++ comments in C code. 2006-09-12 16:03:13 +00:00
Jeff Hill a1a8b1a7e7 fix for mantis 269 2006-09-12 00:05:05 +00:00
Jeff Hill b3ff995884 fixed mantis 266
epicsTime <=> aitTimeStamp conversions dont work on 64 bit hosts
2006-06-29 15:28:36 +00:00
Jeff Hill ee7c2ed829 fixed epicsTime <=> aitTimeStamp conversions dont work on 64 bit hosts 2006-06-22 00:20:08 +00:00
Andrew Johnson b2012ebf80 Don't print results if no tests! 2006-06-16 19:27:36 +00:00
Jeff Hill a3e0f538f7 ipAddrToAsciiTransactionPrivate free list is __not__ locked externally
so the epicsMutexNOOP non-default template parameter causes
the free list to not be locked. The free list was changed to embed a
lock/unlock around all allocate and deallocate requests.
2006-05-22 22:49:06 +00:00
W. Eric Norum 0aa4a34c2a Need a few more functions declared. 2006-04-07 20:59:48 +00:00
W. Eric Norum fa34d5c8f3 Need isnan() declaration now to track changes in other header files. 2006-04-07 20:49:43 +00:00
Andrew Johnson d7016a007c Oops, missed a few tests I'd added. 2006-03-30 20:46:20 +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
Andrew Johnson 97a5aa16a0 Major update, code reorganization and enhancement. 2006-03-30 20:07:06 +00:00
Andrew Johnson e9e4e34fdf Build epicsUnitTest facilitites.
Also make epicsVersion depend on CONFIG_SITE file.
2006-03-30 20:04:48 +00:00
Andrew Johnson 62dee96808 Added Test Anything Protocol unit test library.
See Perl documentation for Test::Harness and Test::More for format details.
2006-03-30 19:59:46 +00:00
Andrew Johnson 8496fae43c Ensure finite() is defined. 2006-03-30 19:54:25 +00:00
Andrew Johnson ffc6368931 Print thread names when reporting suspensions. 2006-03-30 19:52:35 +00:00
Andrew Johnson 3caf5e10c4 Include stdio.h 2006-03-30 19:50:31 +00:00
Andrew Johnson 93bab7d518 Correct epicsMin/epicsMax behaviour for floating-point NaN arguments. 2006-03-30 19:48:12 +00:00
Andrew Johnson 3162d19551 Make cantProceed() take printf-style message args. 2006-03-30 19:42:36 +00:00
Andrew Johnson 8823924561 Oops, currected *Strdup routines. 2006-03-29 20:53:54 +00:00
Andrew Johnson 976febd1ac Added dbmfStrdup() function. 2006-03-29 19:33:50 +00:00
W. Eric Norum 51018ac066 Add support for RTEMS tasks with string names. 2006-03-27 22:21:18 +00:00
W. Eric Norum f648ab5f09 Ensure that RTEMS-style names are properly terminated. 2006-03-27 20:47:05 +00:00
Jeff Hill f4068d6a49 upgraded tests for mantis 245 2006-03-21 00:59:25 +00:00
Jeff Hill a49961afe6 I fixed the following issues:
1) The epicsTime constructor does not throw an exception when an invalid epicsTimeStamp is passed to it.
2) The "epicsTime::operator epicsTimeStamp ()" conversion operator should throw an exception instead of assert failing when it discovers that the internal state of the time stamp is invalid.
3) William Lupton's epicsTime::strftime doesnt add .OVF if the nano-seconds field is invalid. Kay's original issue.
4) William Lupton's epicsTime::strftime has a buffer overrun vulnerability.
5) Certain C interfaces to epicsTime were not bracketed by try catch blocks.
2006-03-21 00:58:43 +00:00
Jeff Hill 99d1b3dd04 improved string hash table distribution 2006-03-15 19:02:15 +00:00
Andrew Johnson df07bfc9e9 Lower-case operands a thru l are never used, the infix buffer was already
converted to upper-case.
2006-03-01 19:55:13 +00:00