Changeset 3127 for trunk/psLib/test/sysUtils
- Timestamp:
- Feb 4, 2005, 12:49:39 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
test/sysUtils/Makefile.am (modified) (3 diffs)
-
test/sysUtils/verified/tst_psError.stderr (modified) (6 diffs)
-
test/sysUtils/verified/tst_psMemory.stderr (modified) (7 diffs)
-
test/sysUtils/verified/tst_psStringCopy.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib
- Property svn:ignore
-
old new 1 DoxygenLog 1 2 bin 2 3 lib
-
- Property svn:ignore
-
trunk/psLib/test/sysUtils/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for sysUtils functions of psLib 2 2 # 3 EXTRA_DIST = verified 4 3 5 INCLUDES = \ 4 6 -I$(top_srcdir)/src \ … … 11 13 $(all_includes) 12 14 13 AM_LDFLAGS = -L$(top_ srcdir)/src `sh $(top_srcdir)/pslib-config --libs`15 AM_LDFLAGS = -L$(top_builddir)/src $(PSLIB_LIBS) 14 16 15 17 check_PROGRAMS = \ … … 22 24 tst_psConfigure 23 25 24 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 26 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 25 27 TESTS = \ 26 28 tst_psAbort \ -
trunk/psLib/test/sysUtils/verified/tst_psError.stderr
r2280 r3127 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|E|testError00 ( tst_psError.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|testError00 (FILE:LINENO) 8 8 ALL TYPES intval = 1 longval = 2 floatval = 3.010000 charval = E strval = E R R O R 9 <DATE><TIME>|<HOST>|E|testError00 ( tst_psError.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|testError00 (FILE:LINENO) 10 10 NO VALUES 11 <DATE><TIME>|<HOST>|E|testError00 ( tst_psError.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|testError00 (FILE:LINENO) 12 12 13 13 ---> TESTPOINT PASSED (psError{psError()} | tst_psError.c) … … 19 19 \**********************************************************************************/ 20 20 21 <DATE><TIME>|<HOST>|E|testError01 ( tst_psError.c:<LINENO>)21 <DATE><TIME>|<HOST>|E|testError01 (FILE:LINENO) 22 22 Error code = 262 23 ERROR STACK PRINT Test1A -> testError01 ( tst_psError.c:<LINENO>): parameter is out-of-range23 ERROR STACK PRINT Test1A -> testError01 (FILE:LINENO): parameter is out-of-range 24 24 Error code = 262 25 <DATE><TIME>|<HOST>|E|testError01 ( tst_psError.c:<LINENO>)25 <DATE><TIME>|<HOST>|E|testError01 (FILE:LINENO) 26 26 Error code = 263 27 ERROR STACK PRINT Test1B -> testError01 ( tst_psError.c:<LINENO>): parameter is of unsupported type27 ERROR STACK PRINT Test1B -> testError01 (FILE:LINENO): parameter is of unsupported type 28 28 Error code = 263 29 <DATE><TIME>|<HOST>|E|testError01 ( tst_psError.c:<LINENO>)29 <DATE><TIME>|<HOST>|E|testError01 (FILE:LINENO) 30 30 Error code = -1 31 ERROR STACK PRINT Test1D -> testError01 ( tst_psError.c:<LINENO>): (null)31 ERROR STACK PRINT Test1D -> testError01 (FILE:LINENO): (null) 32 32 Error code = -1 33 <DATE><TIME>|<HOST>|E|testError01 ( tst_psError.c:<LINENO>)33 <DATE><TIME>|<HOST>|E|testError01 (FILE:LINENO) 34 34 Error code = 262 35 ERROR STACK PRINT Test1E -> testError01 ( tst_psError.c:<LINENO>): (null)35 ERROR STACK PRINT Test1E -> testError01 (FILE:LINENO): (null) 36 36 Error code = -1 37 -> testError01 ( tst_psError.c:<LINENO>): parameter is out-of-range37 -> testError01 (FILE:LINENO): parameter is out-of-range 38 38 Error code = 262 39 <DATE><TIME>|<HOST>|E|testError01 ( tst_psError.c:<LINENO>)39 <DATE><TIME>|<HOST>|E|testError01 (FILE:LINENO) 40 40 Errno code = 9 41 ERROR STACK PRINT Test1F -> testError01 ( tst_psError.c:<LINENO>): Bad file descriptor41 ERROR STACK PRINT Test1F -> testError01 (FILE:LINENO): Bad file descriptor 42 42 Errno code = 9 43 43 … … 50 50 \**********************************************************************************/ 51 51 52 <DATE><TIME>|<HOST>|E|testError02 ( tst_psError.c:<LINENO>)52 <DATE><TIME>|<HOST>|E|testError02 (FILE:LINENO) 53 53 Error code = 262 54 ERROR STACK PRINT Test2A -> testError02 ( tst_psError.c:<LINENO>): parameter is out-of-range54 ERROR STACK PRINT Test2A -> testError02 (FILE:LINENO): parameter is out-of-range 55 55 Error code = 262 56 56 … … 63 63 \**********************************************************************************/ 64 64 65 <DATE><TIME>|<HOST>|E|testError03 ( tst_psError.c:<LINENO>)65 <DATE><TIME>|<HOST>|E|testError03 (FILE:LINENO) 66 66 Error code = 262 67 <DATE><TIME>|<HOST>|E|testError03 ( tst_psError.c:<LINENO>)67 <DATE><TIME>|<HOST>|E|testError03 (FILE:LINENO) 68 68 Error code = 263 69 <DATE><TIME>|<HOST>|E|testError03 ( tst_psError.c:<LINENO>)69 <DATE><TIME>|<HOST>|E|testError03 (FILE:LINENO) 70 70 Error code = 264 71 71 … … 78 78 \**********************************************************************************/ 79 79 80 <DATE><TIME>|<HOST>|E|testError04 ( tst_psError.c:<LINENO>)80 <DATE><TIME>|<HOST>|E|testError04 (FILE:LINENO) 81 81 Error code = 262 82 <DATE><TIME>|<HOST>|E|testError04 ( tst_psError.c:<LINENO>)82 <DATE><TIME>|<HOST>|E|testError04 (FILE:LINENO) 83 83 Error code = 263 84 <DATE><TIME>|<HOST>|E|testError04 ( tst_psError.c:<LINENO>)84 <DATE><TIME>|<HOST>|E|testError04 (FILE:LINENO) 85 85 Error code = 264 86 86 … … 106 106 <DATE><TIME>|<HOST>|I|testErrorRegister 107 107 Following should be an error. 108 <DATE><TIME>|<HOST>|E|psErrorRegister ( psErrorCodes.c:<LINENO>)108 <DATE><TIME>|<HOST>|E|psErrorRegister (FILE:LINENO) 109 109 Specified psErrorDescription pointer can not be NULL. 110 110 -
trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr
r2703 r3127 21 21 Custom MemExhaustedCallback was invoked. 22 22 <DATE><TIME>|<HOST>|A|p_psAlloc 23 Failed to allocate <N> bytes at tst_psMemory.c: <LINENO>23 Failed to allocate <N> bytes at tst_psMemory.c:206 24 24 25 25 ---> TESTPOINT PASSED (psMemory{outOfMemory} | tst_psMemory.c) … … 36 36 Custom MemExhaustedCallback was invoked. 37 37 <DATE><TIME>|<HOST>|A|p_psRealloc 38 Failed to reallocate <N> bytes at tst_psMemory.c: <LINENO>38 Failed to reallocate <N> bytes at tst_psMemory.c:171 39 39 40 40 ---> TESTPOINT PASSED (psMemory{reallocOutOfMemory} | tst_psMemory.c) … … 91 91 following psMemCheckLeaks call should produce one instance. 92 92 file:line ID 93 tst_psMemory.c: <LINENO>193 tst_psMemory.c:356 1 94 94 <DATE><TIME>|<HOST>|I|TPcheckLeaks 95 95 Testing psMemCheckLeaks again with a different leak location … … 97 97 following psMemCheckLeaks call should produce one error. 98 98 file:line ID 99 tst_psMemory.c: <LINENO>1199 tst_psMemory.c:386 11 100 100 <DATE><TIME>|<HOST>|I|TPcheckLeaks 101 101 Testing psMemCheckLeaks again with multiple leak locations. … … 103 103 following psMemCheckLeaks call should produce two errors. 104 104 file:line ID 105 tst_psMemory.c: <LINENO>16106 tst_psMemory.c: <LINENO>14105 tst_psMemory.c:414 16 106 tst_psMemory.c:414 14 107 107 108 108 ---> TESTPOINT PASSED (psMemory{checkLeaks} | tst_psMemory.c) … … 118 118 <DATE><TIME>|<HOST>|I|TPmemCorruption 119 119 psMemCheckCorruption should output an error message and memProblemCallback callback should be called. 120 <DATE><TIME>|<HOST>|E|checkMemBlock ( psMemory.c:<LINENO>)120 <DATE><TIME>|<HOST>|E|checkMemBlock (FILE:LINENO) 121 121 Memory block 1 is corrupted; buffer underflow detected. 122 122 <DATE><TIME>|<HOST>|I|memProblemCallback 123 memory callback called for id 1 ( psMemCheckCorruption:<LINENO>).123 memory callback called for id 1 (FILE:LINENO). 124 124 125 125 ---> TESTPOINT PASSED (psMemory{psMemCorruption} | tst_psMemory.c) … … 147 147 Next should abort due to multiple freeing. 148 148 <DATE><TIME>|<HOST>|A|p_psFree 149 Block 1, allocated at tst_psMemory.c: <LINENO>, freed multiple times at tst_psMemory.c:<LINENO>.149 Block 1, allocated at tst_psMemory.c:526, freed multiple times at tst_psMemory.c:531. 150 150 151 151 ---> TESTPOINT PASSED (psMemory{multipleFree} | tst_psMemory.c) -
trunk/psLib/test/sysUtils/verified/tst_psStringCopy.stderr
r2280 r3127 50 50 \**********************************************************************************/ 51 51 52 <DATE><TIME>|<HOST>|E|psStringNCopy ( psString.c:<LINENO>)52 <DATE><TIME>|<HOST>|E|psStringNCopy (FILE:LINENO) 53 53 Can not copy a negative number of characters (-5). 54 54
Note:
See TracChangeset
for help on using the changeset viewer.
