Changeset 3127
- Timestamp:
- Feb 4, 2005, 12:49:39 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 2 added
- 1 deleted
- 78 edited
-
. (modified) (1 prop)
-
.cvsignore (modified) (1 diff)
-
Doxyfile (added)
-
Makefile.am (modified) (1 diff)
-
configure.in (modified) (2 diffs)
-
src/Doxyfile (deleted)
-
src/Makefile.am (modified) (1 diff)
-
src/astronomy/Makefile.am (modified) (1 diff)
-
src/collections/Makefile.am (modified) (1 diff)
-
src/dataIO/Makefile.am (modified) (1 diff)
-
src/dataManip/Makefile.am (modified) (1 diff)
-
src/fileUtils/Makefile.am (modified) (1 diff)
-
src/image/Makefile.am (modified) (1 diff)
-
src/psTest.c (modified) (10 diffs)
-
src/sysUtils/Makefile.am (modified) (1 diff)
-
swig (modified) (1 prop)
-
swig/.cvsignore (modified) (1 diff)
-
swig/Makefile.PL (added)
-
swig/Makefile.am (modified) (1 diff)
-
test/FullUnitTest (modified) (3 diffs)
-
test/astronomy/Makefile.am (modified) (3 diffs)
-
test/astronomy/verified/tst_psCoord.stderr (modified) (9 diffs)
-
test/astronomy/verified/tst_psMetadataIO.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_01.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_02.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_03.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_04.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psMetadata_05.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psTime_02.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psTime_03.stderr (modified) (1 diff)
-
test/astronomy/verified/tst_psTime_04.stderr (modified) (1 diff)
-
test/collections/Makefile.am (modified) (3 diffs)
-
test/collections/verified/tst_psArray.stderr (modified) (1 diff)
-
test/collections/verified/tst_psBitSet.stderr (modified) (4 diffs)
-
test/collections/verified/tst_psHash01.stderr (modified) (1 diff)
-
test/collections/verified/tst_psHash02.stderr (modified) (1 diff)
-
test/collections/verified/tst_psHash03.stderr (modified) (1 diff)
-
test/collections/verified/tst_psHash05.stderr (modified) (1 diff)
-
test/collections/verified/tst_psList.stderr (modified) (5 diffs)
-
test/collections/verified/tst_psScalar.stderr (modified) (2 diffs)
-
test/collections/verified/tst_psVector.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_01.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_02.stderr (modified) (1 diff)
-
test/collections/verified/tst_psVectorSort_04.stderr (modified) (1 diff)
-
test/dataIO/Makefile.am (modified) (3 diffs)
-
test/dataIO/verified/tst_psFits.stderr (modified) (6 diffs)
-
test/dataManip/Makefile.am (modified) (3 diffs)
-
test/dataManip/verified/tst_psFunc02.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psHist00.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psHist02.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix02.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix03.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix04.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix07.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04_F32.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04b.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04b_F32.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize05.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psRandom.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psStats00.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psVectorFFT.stderr (modified) (3 diffs)
-
test/fileUtils/Makefile.am (modified) (3 diffs)
-
test/fileUtils/verified/tst_psFits.stderr (modified) (6 diffs)
-
test/image/Makefile.am (modified) (3 diffs)
-
test/image/verified/tst_psImage.stderr (modified) (15 diffs)
-
test/image/verified/tst_psImageConvolve.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageExtraction.stderr (modified) (7 diffs)
-
test/image/verified/tst_psImageFFT.stderr (modified) (3 diffs)
-
test/image/verified/tst_psImageIO.stderr (modified) (9 diffs)
-
test/image/verified/tst_psImageInterpolate.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageManip.stderr (modified) (9 diffs)
-
test/image/verified/tst_psImageStats00.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageStats01.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageStats02.stderr (modified) (1 diff)
-
test/runTest (modified) (11 diffs)
-
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/.cvsignore
r3125 r3127 1 DoxygenLog 1 2 bin 2 3 lib -
trunk/psLib/Makefile.am
r3123 r3127 6 6 pkgconfig_DATA= pslib.pc 7 7 8 EXTRA_DIST = pslib-config.in pslib.pc.in 8 EXTRA_DIST = Doxyfile pslib-config.in pslib.pc.in 9 10 docs: 11 $(DOXYGEN) -
trunk/psLib/configure.in
r3123 r3127 1 1 AC_INIT([pslib],[1.5]) 2 2 AM_CONFIG_HEADER(src/config.h) 3 AM_INIT_AUTOMAKE(pslib, 1. 5)3 AM_INIT_AUTOMAKE(pslib, 1.4) 4 4 5 5 PSLIB_LT_VERSION="0:0:0" … … 125 125 AC_CHECK_LIB(mx,sqrtf) 126 126 127 DOXYGEN="doxygen Doxyfile" 128 AC_CHECK_PROG(DOXYGEN,doxygen,[echo Doxygen not detected in configure stage.]) 129 AC_SUBST(DOXYGEN,$DOXYGEN) 130 127 131 dnl ---------------- export variables -------------------- 128 132 -
trunk/psLib/src/Makefile.am
r3123 r3127 23 23 libpslib_la_LDFLAGS = -version-info $(PSLIB_LT_VERSION) 24 24 25 EXTRA_DIST = parseErrorCodes.pl mainpage.dox DoxyfilepsErrorCodes.dat psTest.h25 EXTRA_DIST = parseErrorCodes.pl mainpage.dox psErrorCodes.dat psTest.h 26 26 27 27 pslibincludedir = $(includedir) -
trunk/psLib/src/astronomy/Makefile.am
r3122 r3127 22 22 BUILT_SOURCES = psAstronomyErrors.h 23 23 24 EXTRA_DIST = psAstronomyErrors.dat psAstronomyErrors.h 24 EXTRA_DIST = psAstronomyErrors.dat psAstronomyErrors.h astronomy.i 25 25 26 26 psAstronomyErrors.h: psAstronomyErrors.dat -
trunk/psLib/src/collections/Makefile.am
r3122 r3127 21 21 22 22 BUILT_SOURCES = psCollectionsErrors.h 23 EXTRA_DIST = psCollectionsErrors.dat psCollectionsErrors.h 23 EXTRA_DIST = psCollectionsErrors.dat psCollectionsErrors.h collections.i 24 24 25 25 psCollectionsErrors.h:psCollectionsErrors.dat -
trunk/psLib/src/dataIO/Makefile.am
r3122 r3127 16 16 17 17 BUILT_SOURCES = psFileUtilsErrors.h 18 EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h 18 EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h fileUtils.i 19 19 20 20 psFileUtilsErrors.h: psFileUtilsErrors.dat -
trunk/psLib/src/dataManip/Makefile.am
r3122 r3127 21 21 22 22 BUILT_SOURCES = psDataManipErrors.h 23 EXTRA_DIST = psDataManipErrors.dat psDataManipErrors.h 23 EXTRA_DIST = psDataManipErrors.dat psDataManipErrors.h dataManip.i 24 24 25 25 psDataManipErrors.h: psDataManipErrors.dat -
trunk/psLib/src/fileUtils/Makefile.am
r3122 r3127 16 16 17 17 BUILT_SOURCES = psFileUtilsErrors.h 18 EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h 18 EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h fileUtils.i 19 19 20 20 psFileUtilsErrors.h: psFileUtilsErrors.dat -
trunk/psLib/src/image/Makefile.am
r3122 r3127 21 21 22 22 BUILT_SOURCES = psImageErrors.h 23 EXTRA_DIST = psImageErrors.dat psImageErrors.h 23 EXTRA_DIST = psImageErrors.dat psImageErrors.h image.i 24 24 25 25 psImageErrors.h: psImageErrors.dat -
trunk/psLib/src/psTest.c
r3115 r3127 38 38 psS32 n; 39 39 extern char *optarg; 40 41 char* fileName = (char*)testPointFile; 42 char* lastSlashInFile = strrchr(testPointFile,'/'); 43 if (lastSlashInFile != NULL) { 44 fileName = lastSlashInFile+1; 45 } 40 46 41 47 if ( argc > 0 ) { … … 58 64 break; 59 65 case 'l': 60 printf( "Test Driver: %s\n", testPointFile );66 printf( "Test Driver: %s\n", fileName ); 61 67 printf( "Package Name: %s\n", packageName ); 62 68 printf( "Testpoints:\n" ); … … 73 79 if ( strcmp( optarg, tests[ index ].testPointName ) == 0 ) { 74 80 success = p_runTest( fp, 75 testPointFile,81 fileName, 76 82 packageName, 77 83 tests[ index ].testPointName, … … 94 100 found = true; 95 101 success = p_runTest( fp, 96 testPointFile,102 fileName, 97 103 packageName, 98 104 tests[ index ].testPointName, … … 119 125 if ( ! tests[ index ].isDuplicateEntry ) { 120 126 success = p_runTest( fp, 121 testPointFile,127 fileName, 122 128 packageName, 123 129 tests[ index ].testPointName, … … 143 149 pid_t child; 144 150 145 p_printPositiveTestHeader( fp, testPointFile, packageName, testPointName ); 151 char* fileName = (char*)testPointFile; 152 char* lastSlashInFile = strrchr(testPointFile,'/'); 153 if (lastSlashInFile != NULL) { 154 fileName = lastSlashInFile+1; 155 } 156 157 p_printPositiveTestHeader( fp, fileName, packageName, testPointName ); 146 158 147 159 if ( useFork ) { … … 193 205 } 194 206 195 p_printFooter( fp, testPointFile, packageName, testPointName,207 p_printFooter( fp, fileName, packageName, testPointName, 196 208 ( childReturn == expectedReturn ) ); 197 209 … … 206 218 char TP[ 80 ]; 207 219 220 char* fileName = (char*)testPointFile; 221 char* lastSlashInFile = strrchr(testPointFile,'/'); 222 if (lastSlashInFile != NULL) { 223 fileName = lastSlashInFile+1; 224 } 225 208 226 snprintf( TP, 80, "%s{%s}", packageName, testPointName ); 209 227 210 228 fprintf( fp, HEADER_TOP ); 211 fprintf( fp, HEADER_LINE_STRING, "TestFile", testPointFile);229 fprintf( fp, HEADER_LINE_STRING, "TestFile", fileName); 212 230 fprintf( fp, HEADER_LINE_STRING, "TestPoint", TP ); 213 231 fprintf( fp, HEADER_LINE_STRING, "TestType", "Positive" ); … … 224 242 char TP[ 80 ]; 225 243 244 char* fileName = (char*)testPointFile; 245 char* lastSlashInFile = strrchr(testPointFile,'/'); 246 if (lastSlashInFile != NULL) { 247 fileName = lastSlashInFile+1; 248 } 249 226 250 snprintf( TP, 80, "%s{%s}", packageName, testPointName ); 227 251 228 252 fprintf( fp, HEADER_TOP ); 229 fprintf( fp, HEADER_LINE_STRING, "TestFile", testPointFile);253 fprintf( fp, HEADER_LINE_STRING, "TestFile", fileName); 230 254 fprintf( fp, HEADER_LINE_STRING, "TestPoint", TP ); 231 255 fprintf( fp, HEADER_LINE_STRING, "TestType", "Negative" ); … … 242 266 psBool success ) 243 267 { 268 char* fileName = (char*)testPointFile; 269 char* lastSlashInFile = strrchr(testPointFile,'/'); 270 if (lastSlashInFile != NULL) { 271 fileName = lastSlashInFile+1; 272 } 273 244 274 if ( success ) { 245 fprintf( fp, "\n---> TESTPOINT PASSED (%s{%s} | %s)\n\n", packageName, testPointName, testPointFile);275 fprintf( fp, "\n---> TESTPOINT PASSED (%s{%s} | %s)\n\n", packageName, testPointName, fileName); 246 276 } else { 247 fprintf( fp, "\n---> TESTPOINT FAILED (%s{%s} | %s)\n\n", packageName, testPointName, testPointFile);248 } 249 } 277 fprintf( fp, "\n---> TESTPOINT FAILED (%s{%s} | %s)\n\n", packageName, testPointName, fileName); 278 } 279 } -
trunk/psLib/src/sysUtils/Makefile.am
r3122 r3127 22 22 23 23 BUILT_SOURCES = psSysUtilsErrors.h 24 EXTRA_DIST = psSysUtilsErrors.dat psSysUtilsErrors.h 24 EXTRA_DIST = psSysUtilsErrors.dat psSysUtilsErrors.h sysUtils.i 25 25 26 26 psSysUtilsErrors.h: psSysUtilsErrors.dat -
trunk/psLib/swig
- Property svn:ignore
-
old new 1 psLibModule 1 2 Makefile 2 3 Makefile.in
-
- Property svn:ignore
-
trunk/psLib/swig/.cvsignore
r3125 r3127 1 psLibModule 1 2 Makefile 2 3 Makefile.in -
trunk/psLib/swig/Makefile.am
r3123 r3127 1 1 2 EXTRA_DIST = pslib.i psLibModule/Makefile.PL2 EXTRA_DIST = pslib.i Makefile.PL 3 3 4 CLEANFILES = psLibModule/pslib_wrap.c psLibModule/pslib.pm \ 5 psLibModule/Makefile psLibModule/pm_to_blib psLibModule/pslib.bs \ 6 psLibModule/pslib_wrap.o psLibModule/setup.txt 4 clean-generic: 5 rm -rf psLibModule 7 6 8 SRCDIR = $(shell cd $(top_srcdir)/src && pwd) 9 10 INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/astronomy -I$(SRCDIR)/collections \ 11 -I$(SRCDIR)/dataManip -I$(SRCDIR)/fileUtils -I$(SRCDIR)/image \ 12 -I$(SRCDIR)/sysUtils 7 INCLUDES = -I$(top_srcdir)/src \ 8 -I$(top_srcdir)/src/astronomy \ 9 -I$(top_srcdir)/src/collections \ 10 -I$(top_srcdir)/src/dataManip \ 11 -I$(top_srcdir)/src/fileUtils \ 12 -I$(top_srcdir)/src/image \ 13 -I$(top_srcdir)/src/sysUtils 13 14 14 15 #################################################### 15 16 ## PsLibModule swig build section. 16 17 17 psLibModule/setup.txt:Makefile 18 psLibModule: 19 mkdir psLibModule 20 21 psLibModule/Makefile.PL: psLibModule 22 cp $(srcdir)/Makefile.PL psLibModule/Makefile.PL 23 24 psLibModule/setup.txt:psLibModule Makefile 18 25 echo "includes=$(INCLUDES)" > psLibModule/setup.txt 19 echo "ldflags= $(PSLIB_LIBS)" >> psLibModule/setup.txt26 echo "ldflags=-L$(top_builddir)/src $(PSLIB_LIBS)" >> psLibModule/setup.txt 20 27 echo "cflags=$(PSLIB_CFLAGS) -Wno-unused -Wno-strict-aliasing" >> psLibModule/setup.txt 21 28 22 psLibModule/pslib_wrap.c: pslib.i 23 $(SWIG) -perl $(INCLUDES) -w451 -o $@ $? 29 psLibModule/pslib_wrap.c: psLibModule pslib.i 30 echo Source directory = $(top_srcdir) 31 $(SWIG) -perl $(INCLUDES) -w451 -o $@ $(srcdir)/pslib.i 24 32 25 psLibModule/Makefile:psLibModule /Makefile.PL psLibModule/setup.txt33 psLibModule/Makefile:psLibModule psLibModule/Makefile.PL psLibModule/setup.txt 26 34 cd psLibModule && $(PERL) Makefile.PL PREFIX=$(PERL_PREFIX) 27 35 28 all:psLibModule/pslib_wrap.c psLibModule/Makefile 36 all: psLibModule psLibModule/pslib_wrap.c psLibModule/Makefile.PL 37 38 swig: all psLibModule/Makefile 29 39 cd psLibModule && make 30 40 31 install-exec-hook: all 41 swig-check: swig 42 export PERLLIB=psLibModule && perl -Mpslib -e 'print "pslib version = " . pslib::psLibVersion() . "\n";' 43 44 swig-install: swig 32 45 cd psLibModule && make install 46 47 install-exec-hook: swig-install 33 48 34 49 uninstall-local: psLibModule/Makefile -
trunk/psLib/test/FullUnitTest
r3115 r3127 19 19 # RETURN : integer number of tests which failed 20 20 # 21 # $Revision: 1.1 6$ $Name: not supported by cvs2svn $22 # $Date: 2005-02-0 3 00:54:12$21 # $Revision: 1.17 $ $Name: not supported by cvs2svn $ 22 # $Date: 2005-02-04 22:49:37 $ 23 23 # 24 24 # Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 659 659 s/$hostname\s*/<HOST>/g; 660 660 s/: Line \d+/: Line <LINENO>/g; 661 s/\ :\d+/\:<LINENO>/g;661 s/\(.*\:\d+\)/\(FILE\:LINENO\)/g; 662 662 s/allocate \d+ bytes at/allocate <N> bytes at/g; 663 663 … … 687 687 s/$hostname\s*/<HOST>/g; 688 688 s/: Line \d+/: Line <LINENO>/g; 689 s/\ :\d+/\:<LINENO>/g;689 s/\(.*\:\d+\)/\(FILE\:LINENO\)/g; 690 690 s/allocate \d+ bytes at/allocate <N> bytes at/g; 691 691 -
trunk/psLib/test/astronomy/Makefile.am
r3115 r3127 11 11 $(all_includes) 12 12 13 PSLIB_LIBS = `sh $(top_srcdir)/pslib-config --libs` 14 AM_LDFLAGS = $(PSLIB_LIBS) -L$(top_srcdir)/src 13 AM_LDFLAGS = -L$(top_builddir)/src $(PSLIB_LIBS) 15 14 16 15 check_PROGRAMS = tst_psTime_01 \ … … 30 29 tst_psAstrometry01 31 30 32 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 31 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest --verified=$(srcdir)/verified 32 33 33 TESTS = tst_psTime_01 \ 34 34 tst_psTime_02 \ … … 66 66 BUILT_SOURCES = test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 67 67 68 EXTRA_DIST = test.psTime.config1.template \ 69 test.psTime.config2.template \ 70 test.psTime.config3.template \ 71 test.psTime.config4.template \ 72 verified 73 68 74 test.psTime.config1: test.psTime.config1.template 69 75 sed 's|PREFIX|$(prefix)|' $? > $@ -
trunk/psLib/test/astronomy/verified/tst_psCoord.stderr
r2999 r3127 14 14 \**********************************************************************************/ 15 15 16 <DATE><TIME>|<HOST>|E|psPlaneTransformAlloc ( psCoord.c:<LINENO>)16 <DATE><TIME>|<HOST>|E|psPlaneTransformAlloc (FILE:LINENO) 17 17 Error: n1 is less than 0. 18 <DATE><TIME>|<HOST>|E|psPlaneTransformAlloc ( psCoord.c:<LINENO>)18 <DATE><TIME>|<HOST>|E|psPlaneTransformAlloc (FILE:LINENO) 19 19 Error: n2 is less than 0. 20 20 … … 27 27 \**********************************************************************************/ 28 28 29 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc ( psCoord.c:<LINENO>)29 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 30 30 Error: n1 is less than 0. 31 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc ( psCoord.c:<LINENO>)31 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 32 32 Error: n2 is less than 0. 33 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc ( psCoord.c:<LINENO>)33 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 34 34 Error: n3 is less than 0. 35 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc ( psCoord.c:<LINENO>)35 <DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 36 36 Error: n4 is less than 0. 37 37 … … 44 44 \**********************************************************************************/ 45 45 46 <DATE><TIME>|<HOST>|E|psPlaneTransformApply ( psCoord.c:<LINENO>)46 <DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO) 47 47 Unallowable operation: transform is NULL. 48 <DATE><TIME>|<HOST>|E|psPlaneTransformApply ( psCoord.c:<LINENO>)48 <DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO) 49 49 Unallowable operation: transform->x is NULL. 50 <DATE><TIME>|<HOST>|E|psPlaneTransformApply ( psCoord.c:<LINENO>)50 <DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO) 51 51 Unallowable operation: transform->y is NULL. 52 <DATE><TIME>|<HOST>|E|psPlaneTransformApply ( psCoord.c:<LINENO>)52 <DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO) 53 53 Unallowable operation: coords is NULL. 54 54 … … 61 61 \**********************************************************************************/ 62 62 63 <DATE><TIME>|<HOST>|E|psPlaneDistortApply ( psCoord.c:<LINENO>)63 <DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO) 64 64 Unallowable operation: transform is NULL. 65 <DATE><TIME>|<HOST>|E|psPlaneDistortApply ( psCoord.c:<LINENO>)65 <DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO) 66 66 Unallowable operation: transform->x is NULL. 67 <DATE><TIME>|<HOST>|E|psPlaneDistortApply ( psCoord.c:<LINENO>)67 <DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO) 68 68 Unallowable operation: transform->y is NULL. 69 <DATE><TIME>|<HOST>|E|psPlaneDistortApply ( psCoord.c:<LINENO>)69 <DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO) 70 70 Unallowable operation: coords is NULL. 71 71 … … 78 78 \**********************************************************************************/ 79 79 80 <DATE><TIME>|<HOST>|E|psSphereTransformApply ( psCoord.c:<LINENO>)80 <DATE><TIME>|<HOST>|E|psSphereTransformApply (FILE:LINENO) 81 81 Unallowable operation: transform is NULL. 82 <DATE><TIME>|<HOST>|E|psSphereTransformApply ( psCoord.c:<LINENO>)82 <DATE><TIME>|<HOST>|E|psSphereTransformApply (FILE:LINENO) 83 83 Unallowable operation: coord is NULL. 84 84 … … 100 100 \**********************************************************************************/ 101 101 102 <DATE><TIME>|<HOST>|E|psSphereTransformICRSToEcliptic ( psCoord.c:<LINENO>)102 <DATE><TIME>|<HOST>|E|psSphereTransformICRSToEcliptic (FILE:LINENO) 103 103 Unallowable operation: time is NULL. 104 104 … … 111 111 \**********************************************************************************/ 112 112 113 <DATE><TIME>|<HOST>|E|psSphereTransformEclipticToICRS ( psCoord.c:<LINENO>)113 <DATE><TIME>|<HOST>|E|psSphereTransformEclipticToICRS (FILE:LINENO) 114 114 Unallowable operation: time is NULL. 115 115 … … 140 140 \**********************************************************************************/ 141 141 142 <DATE><TIME>|<HOST>|E|psSphereGetOffset ( psCoord.c:<LINENO>)142 <DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO) 143 143 Unallowable operation: position1 is NULL. 144 <DATE><TIME>|<HOST>|E|psSphereGetOffset ( psCoord.c:<LINENO>)144 <DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO) 145 145 Unallowable operation: position2 is NULL. 146 <DATE><TIME>|<HOST>|E|psSphereGetOffset ( psCoord.c:<LINENO>)146 <DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO) 147 147 Specified offset mode, 0x54321, is not supported. 148 <DATE><TIME>|<HOST>|E|psSphereGetOffset ( psCoord.c:<LINENO>)148 <DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO) 149 149 Specified units, 0x54321, is not supported. 150 150 … … 157 157 \**********************************************************************************/ 158 158 159 <DATE><TIME>|<HOST>|E|psSphereSetOffset ( psCoord.c:<LINENO>)159 <DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO) 160 160 Unallowable operation: position is NULL. 161 <DATE><TIME>|<HOST>|E|psSphereSetOffset ( psCoord.c:<LINENO>)161 <DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO) 162 162 Unallowable operation: offset is NULL. 163 <DATE><TIME>|<HOST>|E|psSphereSetOffset ( psCoord.c:<LINENO>)163 <DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO) 164 164 Specified offset mode, 0x54321, is not supported. 165 <DATE><TIME>|<HOST>|E|psSphereSetOffset ( psCoord.c:<LINENO>)165 <DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO) 166 166 Specified units, 0x54321, is not supported. 167 167 -
trunk/psLib/test/astronomy/verified/tst_psMetadataIO.stderr
r2612 r3127 1 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 2 2 Failed to parse the value '9876.54qqq32' of metadata item xPosition, type F64, on line 90 of test.config. 3 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 4 4 Failed to read a metadata value on line 96 of test.config. 5 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 6 6 Metadata type '99.999', found on line 102 of test.config, is not invalid. 7 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 8 8 More than one '*' character not allowed. Found on line 108 of test.config. 9 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 10 10 More than one '@' character not allowed. Found on line 114 of test.config. 11 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 12 12 More than one '~' character not allowed. Found on line 120 of test.config. 13 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 14 14 Failed to parse the value '9876.54qqq32' of metadata item xPosition, type F64, on line 90 of test.config. 15 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 16 16 Failed to read a metadata value on line 96 of test.config. 17 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)17 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 18 18 Metadata type '99.999', found on line 102 of test.config, is not invalid. 19 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 20 20 More than one '*' character not allowed. Found on line 108 of test.config. 21 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)21 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 22 22 More than one '@' character not allowed. Found on line 114 of test.config. 23 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)23 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 24 24 More than one '~' character not allowed. Found on line 120 of test.config. 25 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)25 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 26 26 Duplicate Metadata item, speed, found on line 128 of test.config. Overwrite not allowed. 27 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)27 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 28 28 Failed to parse the value '9876.54qqq32' of metadata item xPosition, type F64, on line 90 of test.config. 29 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)29 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 30 30 Failed to read a metadata value on line 96 of test.config. 31 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)31 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 32 32 Metadata type '99.999', found on line 102 of test.config, is not invalid. 33 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)33 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 34 34 More than one '*' character not allowed. Found on line 108 of test.config. 35 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)35 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 36 36 More than one '@' character not allowed. Found on line 114 of test.config. 37 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)37 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 38 38 More than one '~' character not allowed. Found on line 120 of test.config. 39 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)39 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 40 40 Unallowable operation: fileName is NULL. 41 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)41 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 42 42 Failed to open file 'abcedfg'. Check if it exists and it has the proper permissions. -
trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stderr
r2858 r3127 1 <DATE><TIME>|<HOST>|E|psListRemoveData ( psList.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psListRemoveData (FILE:LINENO) 2 2 Specified data item is not found in the psList. 3 <DATE><TIME>|<HOST>|E|psMetadataRemove ( psMetadata.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMetadataRemove (FILE:LINENO) 4 4 Failed to remove metadata item, HISTORY, from metadata list. 5 <DATE><TIME>|<HOST>|E|psMetadataReadHeader ( psMetadataIO.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMetadataReadHeader (FILE:LINENO) 6 6 Unallowable operation: fileName is NULL. 7 <DATE><TIME>|<HOST>|E|psMetadataReadHeader ( psMetadataIO.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psMetadataReadHeader (FILE:LINENO) 8 8 FITS error while opening file: missing.dat could not open the named file 9 <DATE><TIME>|<HOST>|E|psMetadataReadHeader ( psMetadataIO.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psMetadataReadHeader (FILE:LINENO) 10 10 Couldn't close FITS file. FITS error: NULL input pointer 11 <DATE><TIME>|<HOST>|E|psMetadataReadHeader ( psMetadataIO.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psMetadataReadHeader (FILE:LINENO) 12 12 Specified extension number, 0, is invalid. Value must be positive if no extension name is given. 13 <DATE><TIME>|<HOST>|E|psMetadataReadHeader ( psMetadataIO.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|psMetadataReadHeader (FILE:LINENO) 14 14 FITS error while locating header 22: tried to move past end of file 15 <DATE><TIME>|<HOST>|E|psMetadataReadHeader ( psMetadataIO.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psMetadataReadHeader (FILE:LINENO) 16 16 FITS error while locating header AARGH: illegal HDU number 17 <DATE><TIME>|<HOST>|E|psMetadataReadHeader ( psMetadataIO.c:<LINENO>)17 <DATE><TIME>|<HOST>|E|psMetadataReadHeader (FILE:LINENO) 18 18 Specified extension number, 0, is invalid. Value must be positive if no extension name is given. -
trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr
r2613 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should produce error for null name. 3 <DATE><TIME>|<HOST>|E|psMetadataItemAllocV ( psMetadata.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMetadataItemAllocV (FILE:LINENO) 4 4 Unallowable operation: name is NULL. 5 <DATE><TIME>|<HOST>|E|psMetadataItemAllocV ( psMetadata.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMetadataItemAllocV (FILE:LINENO) 6 6 Specified psMetadataType, 11, is not supported. 7 <DATE><TIME>|<HOST>|E|psMetadataAddItem ( psMetadata.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psMetadataAddItem (FILE:LINENO) 8 8 Unallowable operation: md is NULL. 9 <DATE><TIME>|<HOST>|E|psMetadataAddItem ( psMetadata.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psMetadataAddItem (FILE:LINENO) 10 10 Unallowable operation: metadataItem is NULL. -
trunk/psLib/test/astronomy/verified/tst_psMetadata_03.stderr
r2281 r3127 1 <DATE><TIME>|<HOST>|E|psMetadataRemove ( psMetadata.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMetadataRemove (FILE:LINENO) 2 2 Unallowable operation: md is NULL. 3 <DATE><TIME>|<HOST>|E|psMetadataRemove ( psMetadata.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMetadataRemove (FILE:LINENO) 4 4 Could not find metadata item, AARGH. 5 <DATE><TIME>|<HOST>|E|psMetadataRemove ( psMetadata.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMetadataRemove (FILE:LINENO) 6 6 Could not find metadata item at index 22. 7 <DATE><TIME>|<HOST>|E|psMetadataAddItem ( psMetadata.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psMetadataAddItem (FILE:LINENO) 8 8 Unallowable operation: md->table is NULL. 9 <DATE><TIME>|<HOST>|E|psMetadataRemove ( psMetadata.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psMetadataRemove (FILE:LINENO) 10 10 Unallowable operation: md->table is NULL. 11 <DATE><TIME>|<HOST>|E|psMetadataAddItem ( psMetadata.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psMetadataAddItem (FILE:LINENO) 12 12 Unallowable operation: md->list is NULL. 13 <DATE><TIME>|<HOST>|E|psMetadataRemove ( psMetadata.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|psMetadataRemove (FILE:LINENO) 14 14 Unallowable operation: md->list is NULL. 15 <DATE><TIME>|<HOST>|E|psMetadataAddItem ( psMetadata.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psMetadataAddItem (FILE:LINENO) 16 16 Unallowable operation: metadataItem->name is NULL. 17 <DATE><TIME>|<HOST>|E|psMetadataAddItem ( psMetadata.c:<LINENO>)17 <DATE><TIME>|<HOST>|E|psMetadataAddItem (FILE:LINENO) 18 18 Unallowable operation: md->table is NULL. 19 <DATE><TIME>|<HOST>|E|psMetadataAdd ( psMetadata.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psMetadataAdd (FILE:LINENO) 20 20 Failed to add metadata item to metadata collection list. -
trunk/psLib/test/astronomy/verified/tst_psMetadata_04.stderr
r2858 r3127 1 <DATE><TIME>|<HOST>|E|psMetadataLookup ( psMetadata.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMetadataLookup (FILE:LINENO) 2 2 Unallowable operation: md is NULL. 3 <DATE><TIME>|<HOST>|E|psMetadataLookup ( psMetadata.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMetadataLookup (FILE:LINENO) 4 4 Unallowable operation: key is NULL. 5 <DATE><TIME>|<HOST>|E|psMetadataGet ( psMetadata.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMetadataGet (FILE:LINENO) 6 6 Unallowable operation: md is NULL. 7 <DATE><TIME>|<HOST>|E|psListIteratorSet ( psList.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psListIteratorSet (FILE:LINENO) 8 8 Specified location, 22, is invalid. 9 <DATE><TIME>|<HOST>|E|psListGet ( psList.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psListGet (FILE:LINENO) 10 10 Specified location, 22, is invalid. 11 <DATE><TIME>|<HOST>|E|psMetadataGet ( psMetadata.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psMetadataGet (FILE:LINENO) 12 12 Could not find metadata item at index 22. 13 <DATE><TIME>|<HOST>|E|psMetadataLookup ( psMetadata.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|psMetadataLookup (FILE:LINENO) 14 14 Unallowable operation: md->table is NULL. 15 <DATE><TIME>|<HOST>|E|psMetadataGet ( psMetadata.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psMetadataGet (FILE:LINENO) 16 16 Unallowable operation: md->list is NULL. -
trunk/psLib/test/astronomy/verified/tst_psMetadata_05.stderr
r2986 r3127 1 <DATE><TIME>|<HOST>|E|psMetadataItemPrint ( psMetadataIO.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMetadataItemPrint (FILE:LINENO) 2 2 Unallowable operation: fd is NULL. 3 <DATE><TIME>|<HOST>|E|psMetadataItemPrint ( psMetadataIO.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMetadataItemPrint (FILE:LINENO) 4 4 Unallowable operation: format is NULL. 5 <DATE><TIME>|<HOST>|E|psMetadataItemPrint ( psMetadataIO.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMetadataItemPrint (FILE:LINENO) 6 6 Unallowable operation: metadataItem is NULL. -
trunk/psLib/test/astronomy/verified/tst_psTime_02.stderr
r2326 r3127 1 <DATE><TIME>|<HOST>|E|psTimeFromISOTime ( psTime.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psTimeFromISOTime (FILE:LINENO) 2 2 Error: tmTime.tm_mon, 99, is out of range. Must be between 1 and 12. 3 <DATE><TIME>|<HOST>|E|psTimeFromISOTime ( psTime.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psTimeFromISOTime (FILE:LINENO) 4 4 Error: tmTime.tm_mday, 99, is out of range. Must be between 1 and 31. 5 <DATE><TIME>|<HOST>|E|psTimeFromISOTime ( psTime.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psTimeFromISOTime (FILE:LINENO) 6 6 Error: tmTime.tm_hour, 99, is out of range. Must be between 0 and 23. 7 <DATE><TIME>|<HOST>|E|psTimeFromISOTime ( psTime.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psTimeFromISOTime (FILE:LINENO) 8 8 Error: tmTime.tm_min, 99, is out of range. Must be between 0 and 59. 9 <DATE><TIME>|<HOST>|E|psTimeFromISOTime ( psTime.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psTimeFromISOTime (FILE:LINENO) 10 10 Error: tmTime.tm_sec, 99, is out of range. Must be between 0 and 59. 11 <DATE><TIME>|<HOST>|E|psTimeFromISOTime ( psTime.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psTimeFromISOTime (FILE:LINENO) 12 12 Error: millisecond, -999, is out of range. Must be between 0 and 999. 13 <DATE><TIME>|<HOST>|E|psTimeFromTimeval ( psTime.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|psTimeFromTimeval (FILE:LINENO) 14 14 Unallowable operation: time is NULL. -
trunk/psLib/test/astronomy/verified/tst_psTime_03.stderr
r2964 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Invalid time type during allocation should generate error message 3 <DATE><TIME>|<HOST>|E|psTimeAlloc ( psTime.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psTimeAlloc (FILE:LINENO) 4 4 Specified type, 10, is not supported. -
trunk/psLib/test/astronomy/verified/tst_psTime_04.stderr
r3056 r3127 1 <DATE><TIME>|<HOST>|E|psMetadataParseConfig ( psMetadataIO.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMetadataParseConfig (FILE:LINENO) 2 2 Failed to open file 'zzz'. Check if it exists and it has the proper permissions. 3 <DATE><TIME>|<HOST>|E|psLibInit ( psConfigure.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psLibInit (FILE:LINENO) 4 4 Failed to initialize psTime. 5 <DATE><TIME>|<HOST>|E|psLookupTableRead ( psLookupTable.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psLookupTableRead (FILE:LINENO) 6 6 Failed to open file bogus/ser7.dat. 7 <DATE><TIME>|<HOST>|E|psLookupTableRead ( psLookupTable.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psLookupTableRead (FILE:LINENO) 8 8 Failed to open file bogus/eopc01_1900_2004.dat. 9 <DATE><TIME>|<HOST>|E|psLookupTableRead ( psLookupTable.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psLookupTableRead (FILE:LINENO) 10 10 Failed to open file bogus/finals_all.dat. 11 <DATE><TIME>|<HOST>|E|psLookupTableRead ( psLookupTable.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psLookupTableRead (FILE:LINENO) 12 12 Failed to open file bogus/tai_utc.dat. 13 <DATE><TIME>|<HOST>|E|p_psTimeInit ( psTime.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|p_psTimeInit (FILE:LINENO) 14 14 Incorrect number of table files entered. Found: 3. Expected: 4. 15 <DATE><TIME>|<HOST>|E|p_psTimeInit ( psTime.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|p_psTimeInit (FILE:LINENO) 16 16 Incorrect vector size. Size: 3, Expected 4. 17 <DATE><TIME>|<HOST>|E|psLibInit ( psConfigure.c:<LINENO>)17 <DATE><TIME>|<HOST>|E|psLibInit (FILE:LINENO) 18 18 Failed to initialize psTime. 19 <DATE><TIME>|<HOST>|E|printError ( psLookupTable.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|printError (FILE:LINENO) 20 20 Unable to parse string, 53yyy244 on line 16. -
trunk/psLib/test/collections/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for collections 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 = \ … … 32 34 tst_psScalar 33 35 34 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 36 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 35 37 TESTS = \ 36 38 tst_psVector \ -
trunk/psLib/test/collections/verified/tst_psArray.stderr
r2855 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psArrayRealloc ( psArray.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psArrayRealloc (FILE:LINENO) 4 4 psArrayRealloc must be given a non-NULL psArray to resize. 5 <DATE><TIME>|<HOST>|E|psArrayRemove ( psArray.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psArrayRemove (FILE:LINENO) 6 6 Specified psArray can not be NULL. -
trunk/psLib/test/collections/verified/tst_psBitSet.stderr
r2281 r3127 9 9 <DATE><TIME>|<HOST>|I|testBitSet01a 10 10 Following is an error. 11 <DATE><TIME>|<HOST>|E|psBitSetAlloc ( psBitSet.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psBitSetAlloc (FILE:LINENO) 12 12 The number of bit in a psBitSet (-4) must be greater than zero. 13 13 … … 32 32 <DATE><TIME>|<HOST>|I|testBitSet01b 33 33 Following should be an error 34 <DATE><TIME>|<HOST>|E|psBitSetSet ( psBitSet.c:<LINENO>)34 <DATE><TIME>|<HOST>|E|psBitSetSet (FILE:LINENO) 35 35 The specified bit position (-4) is invalid. Position must be between 0 and 23. 36 36 <DATE><TIME>|<HOST>|I|testBitSet01b 37 37 Following should be an error 38 <DATE><TIME>|<HOST>|E|psBitSetSet ( psBitSet.c:<LINENO>)38 <DATE><TIME>|<HOST>|E|psBitSetSet (FILE:LINENO) 39 39 The specified bit position (200) is invalid. Position must be between 0 and 23. 40 40 <DATE><TIME>|<HOST>|I|testBitSet01b 41 41 Following should be an error 42 <DATE><TIME>|<HOST>|E|psBitSetSet ( psBitSet.c:<LINENO>)42 <DATE><TIME>|<HOST>|E|psBitSetSet (FILE:LINENO) 43 43 Can not operate on a NULL psBitSet. 44 44 … … 56 56 <DATE><TIME>|<HOST>|I|testBitSet01c 57 57 Following should be an error 58 <DATE><TIME>|<HOST>|E|psBitSetTest ( psBitSet.c:<LINENO>)58 <DATE><TIME>|<HOST>|E|psBitSetTest (FILE:LINENO) 59 59 The specified bit position (-4) is invalid. Position must be between 0 and 23. 60 60 <DATE><TIME>|<HOST>|I|testBitSet01c 61 61 Following should be an error 62 <DATE><TIME>|<HOST>|E|psBitSetTest ( psBitSet.c:<LINENO>)62 <DATE><TIME>|<HOST>|E|psBitSetTest (FILE:LINENO) 63 63 The specified bit position (200) is invalid. Position must be between 0 and 23. 64 64 <DATE><TIME>|<HOST>|I|testBitSet01c 65 65 Following should be an error 66 <DATE><TIME>|<HOST>|E|psBitSetTest ( psBitSet.c:<LINENO>)66 <DATE><TIME>|<HOST>|E|psBitSetTest (FILE:LINENO) 67 67 Can not operate on a NULL psBitSet. 68 68 … … 77 77 <DATE><TIME>|<HOST>|I|testBitSet06 78 78 Following should be an error 79 <DATE><TIME>|<HOST>|E|psBitSetOp ( psBitSet.c:<LINENO>)79 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 80 80 The psBitSet operand must be the same size. 81 81 <DATE><TIME>|<HOST>|I|testBitSet06 82 82 Following is an error. 83 <DATE><TIME>|<HOST>|E|psBitSetOp ( psBitSet.c:<LINENO>)83 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 84 84 Specified operator, FOO, is invalid. Valid operators are AND, OR, and XOR. 85 85 <DATE><TIME>|<HOST>|I|testBitSet06 86 86 Following is an error. 87 <DATE><TIME>|<HOST>|E|psBitSetOp ( psBitSet.c:<LINENO>)87 <DATE><TIME>|<HOST>|E|psBitSetOp (FILE:LINENO) 88 88 Specified operator, FOO, is invalid. Valid operators are AND, OR, and XOR. 89 89 -
trunk/psLib/test/collections/verified/tst_psHash01.stderr
r2620 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message: psHashAdd with null table 3 <DATE><TIME>|<HOST>|E|psHashAdd ( psHash.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHashAdd (FILE:LINENO) 4 4 Input psHash can not be NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message: psHashAdd with null key 7 <DATE><TIME>|<HOST>|E|psHashAdd ( psHash.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psHashAdd (FILE:LINENO) 8 8 Input key can not be NULL. 9 9 <DATE><TIME>|<HOST>|I|main 10 10 Following should generate an error message: psHashAdd with null data 11 <DATE><TIME>|<HOST>|E|psHashAdd ( psHash.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psHashAdd (FILE:LINENO) 12 12 Input data can not be NULL. -
trunk/psLib/test/collections/verified/tst_psHash02.stderr
r2622 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message: psHashLookup with null table 3 <DATE><TIME>|<HOST>|E|psHashLookup ( psHash.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHashLookup (FILE:LINENO) 4 4 Input psHash can not be NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message: psHashLookup with null key 7 <DATE><TIME>|<HOST>|E|psHashLookup ( psHash.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psHashLookup (FILE:LINENO) 8 8 Input key can not be NULL. -
trunk/psLib/test/collections/verified/tst_psHash03.stderr
r2624 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message: psHashRemove with null table 3 <DATE><TIME>|<HOST>|E|psHashRemove ( psHash.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHashRemove (FILE:LINENO) 4 4 Input psHash can not be NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message: psHashRemove with null key 7 <DATE><TIME>|<HOST>|E|psHashRemove ( psHash.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psHashRemove (FILE:LINENO) 8 8 Input key can not be NULL. -
trunk/psLib/test/collections/verified/tst_psHash05.stderr
r2969 r3127 7 7 <DATE><TIME>|<HOST>|I|hashToArray 8 8 Following should be an error. 9 <DATE><TIME>|<HOST>|E|psHashToArray ( psHash.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psHashToArray (FILE:LINENO) 10 10 Input psHash can not be NULL. 11 11 -
trunk/psLib/test/collections/verified/tst_psList.stderr
r3112 r3127 20 20 <DATE><TIME>|<HOST>|I|testListAdd 21 21 Following should generate an error for using NULL list. 22 <DATE><TIME>|<HOST>|E|psListAdd ( psList.c:<LINENO>)22 <DATE><TIME>|<HOST>|E|psListAdd (FILE:LINENO) 23 23 Specified psList reference is NULL. 24 24 <DATE><TIME>|<HOST>|I|testListAdd 25 25 Following should generate an error msg to add NULL data 26 <DATE><TIME>|<HOST>|E|psListAdd ( psList.c:<LINENO>)26 <DATE><TIME>|<HOST>|E|psListAdd (FILE:LINENO) 27 27 Specified data item is NULL. 28 28 <DATE><TIME>|<HOST>|I|testListAdd 29 29 Following should error with invalid insert location 30 <DATE><TIME>|<HOST>|E|psListIteratorSet ( psList.c:<LINENO>)30 <DATE><TIME>|<HOST>|E|psListIteratorSet (FILE:LINENO) 31 31 Specified location, -7, is invalid. 32 32 <DATE><TIME>|<HOST>|I|testListAdd … … 45 45 <DATE><TIME>|<HOST>|I|testListGet 46 46 Following should be an error 47 <DATE><TIME>|<HOST>|E|psListGet ( psList.c:<LINENO>)47 <DATE><TIME>|<HOST>|E|psListGet (FILE:LINENO) 48 48 Specified psList reference is NULL. 49 <DATE><TIME>|<HOST>|E|psListIteratorSet ( psList.c:<LINENO>)49 <DATE><TIME>|<HOST>|E|psListIteratorSet (FILE:LINENO) 50 50 Specified location, 5, is invalid. 51 <DATE><TIME>|<HOST>|E|psListGet ( psList.c:<LINENO>)51 <DATE><TIME>|<HOST>|E|psListGet (FILE:LINENO) 52 52 Specified location, 5, is invalid. 53 <DATE><TIME>|<HOST>|E|psListIteratorSet ( psList.c:<LINENO>)53 <DATE><TIME>|<HOST>|E|psListIteratorSet (FILE:LINENO) 54 54 Specified location, 4, is invalid. 55 <DATE><TIME>|<HOST>|E|psListGet ( psList.c:<LINENO>)55 <DATE><TIME>|<HOST>|E|psListGet (FILE:LINENO) 56 56 Specified location, 4, is invalid. 57 57 … … 66 66 <DATE><TIME>|<HOST>|I|testListRemove 67 67 Following should be an error 68 <DATE><TIME>|<HOST>|E|psListRemove ( psList.c:<LINENO>)68 <DATE><TIME>|<HOST>|E|psListRemove (FILE:LINENO) 69 69 Specified psList reference is NULL. 70 70 <DATE><TIME>|<HOST>|I|testListRemove 71 71 Next message should be an error 72 <DATE><TIME>|<HOST>|E|psListRemoveData ( psList.c:<LINENO>)72 <DATE><TIME>|<HOST>|E|psListRemoveData (FILE:LINENO) 73 73 Specified data item is NULL. 74 74 <DATE><TIME>|<HOST>|I|testListRemove 75 75 Next message should be an error 76 <DATE><TIME>|<HOST>|E|psListRemoveData ( psList.c:<LINENO>)76 <DATE><TIME>|<HOST>|E|psListRemoveData (FILE:LINENO) 77 77 Specified data item is not found in the psList. 78 78 <DATE><TIME>|<HOST>|I|testListRemove 79 79 NULL list in psListRemoveData should generate error message. 80 <DATE><TIME>|<HOST>|E|psListRemoveData ( psList.c:<LINENO>)80 <DATE><TIME>|<HOST>|E|psListRemoveData (FILE:LINENO) 81 81 Specified psList reference is NULL. 82 82 … … 131 131 <DATE><TIME>|<HOST>|I|testListAddAfter 132 132 NULL data pointer should generate error message 133 <DATE><TIME>|<HOST>|E|psListAddAfter ( psList.c:<LINENO>)133 <DATE><TIME>|<HOST>|E|psListAddAfter (FILE:LINENO) 134 134 Specified data item is NULL. 135 135 <DATE><TIME>|<HOST>|I|testListAddAfter 136 136 NULL iterator should generate error message 137 <DATE><TIME>|<HOST>|E|psListAddAfter ( psList.c:<LINENO>)137 <DATE><TIME>|<HOST>|E|psListAddAfter (FILE:LINENO) 138 138 Specified iterator is NULL. 139 139 <DATE><TIME>|<HOST>|I|testListAddAfter 140 140 Non-mutable list should generate error message 141 <DATE><TIME>|<HOST>|E|psListAddAfter ( psList.c:<LINENO>)141 <DATE><TIME>|<HOST>|E|psListAddAfter (FILE:LINENO) 142 142 Specified iterator indicates list is non-mutable. 143 143 … … 152 152 <DATE><TIME>|<HOST>|I|testListAddBefore 153 153 NULL data pointer should generate error message 154 <DATE><TIME>|<HOST>|E|psListAddBefore ( psList.c:<LINENO>)154 <DATE><TIME>|<HOST>|E|psListAddBefore (FILE:LINENO) 155 155 Specified data item is NULL. 156 156 <DATE><TIME>|<HOST>|I|testListAddBefore 157 157 NULL iterator should generate error message 158 <DATE><TIME>|<HOST>|E|psListAddBefore ( psList.c:<LINENO>)158 <DATE><TIME>|<HOST>|E|psListAddBefore (FILE:LINENO) 159 159 Specified iterator is NULL. 160 160 <DATE><TIME>|<HOST>|I|testListAddBefore 161 161 Non-mutable list should generate error message 162 <DATE><TIME>|<HOST>|E|psListAddBefore ( psList.c:<LINENO>)162 <DATE><TIME>|<HOST>|E|psListAddBefore (FILE:LINENO) 163 163 Specified iterator indicates list is non-mutable. 164 164 -
trunk/psLib/test/collections/verified/tst_psScalar.stderr
r2668 r3127 9 9 <DATE><TIME>|<HOST>|I|testScalarAlloc 10 10 Following should generate an error message 11 <DATE><TIME>|<HOST>|E|psScalarAlloc ( psScalar.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psScalarAlloc (FILE:LINENO) 12 12 Specified datatype (4865) is unsupported by psScalar. 13 13 … … 24 24 <DATE><TIME>|<HOST>|I|testScalarCopy 25 25 Following should generate an error message 26 <DATE><TIME>|<HOST>|E|psScalarCopy ( psScalar.c:<LINENO>)26 <DATE><TIME>|<HOST>|E|psScalarCopy (FILE:LINENO) 27 27 Specified datatype (4865) is unsupported by psScalar. 28 28 <DATE><TIME>|<HOST>|I|testScalarCopy 29 29 Following should generate an error message 30 <DATE><TIME>|<HOST>|E|psScalarCopy ( psScalar.c:<LINENO>)30 <DATE><TIME>|<HOST>|E|psScalarCopy (FILE:LINENO) 31 31 Can not copy a NULL psScalar. 32 32 -
trunk/psLib/test/collections/verified/tst_psVector.stderr
r2281 r3127 3 3 <DATE><TIME>|<HOST>|I|main 4 4 Following should be an error message. 5 <DATE><TIME>|<HOST>|E|psVectorRealloc ( psVector.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psVectorRealloc (FILE:LINENO) 6 6 psVectorRealloc must a given a non-NULL psVector to resize. Desired datatype unknown. -
trunk/psLib/test/collections/verified/tst_psVectorSort_01.stderr
r2669 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error messgae 3 <DATE><TIME>|<HOST>|E|psVectorSort ( psVector.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 4 4 Input psVector is an unsupported type (4865). -
trunk/psLib/test/collections/verified/tst_psVectorSort_02.stderr
r2677 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message 3 <DATE><TIME>|<HOST>|E|psVectorSortIndex ( psVector.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorSortIndex (FILE:LINENO) 4 4 psVectorSort can not sort a NULL psVector. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate two error messages(psVectorSort,psVectorSortIndex) 7 <DATE><TIME>|<HOST>|E|psVectorSort ( psVector.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 8 8 Input psVector is an unsupported type (4865). 9 <DATE><TIME>|<HOST>|E|psVectorSortIndex ( psVector.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psVectorSortIndex (FILE:LINENO) 10 10 Input psVector is an unsupported type (4865). -
trunk/psLib/test/collections/verified/tst_psVectorSort_04.stderr
r2281 r3127 1 <DATE><TIME>|<HOST>|E|psVectorSort ( psVector.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 2 2 psVectorSort can not sort a NULL psVector. -
trunk/psLib/test/dataIO/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for fileUtils 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 = \ … … 17 19 tst_psFits 18 20 19 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 21 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 20 22 TESTS = \ 21 23 tst_psLookupTable_01 \ -
trunk/psLib/test/dataIO/verified/tst_psFits.stderr
r3028 r3127 16 16 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtName 17 17 Following should be an error. 18 <DATE><TIME>|<HOST>|E|psFitsMoveExtName ( psFits.c:<LINENO>)18 <DATE><TIME>|<HOST>|E|psFitsMoveExtName (FILE:LINENO) 19 19 Could not find HDU 'bogus' in file multi.fits. 20 20 CFITSIO Error: illegal HDU number 21 21 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtName 22 22 Following should be an error. 23 <DATE><TIME>|<HOST>|E|psFitsMoveExtName ( psFits.c:<LINENO>)23 <DATE><TIME>|<HOST>|E|psFitsMoveExtName (FILE:LINENO) 24 24 The input psFits object can not NULL. 25 25 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtName 26 26 Following should be an error. 27 <DATE><TIME>|<HOST>|E|psFitsMoveExtName ( psFits.c:<LINENO>)27 <DATE><TIME>|<HOST>|E|psFitsMoveExtName (FILE:LINENO) 28 28 Specified extension name can not be NULL. 29 29 … … 38 38 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 39 39 Following should be an error. 40 <DATE><TIME>|<HOST>|E|psFitsGetSize ( psFits.c:<LINENO>)40 <DATE><TIME>|<HOST>|E|psFitsGetSize (FILE:LINENO) 41 41 The input psFits object can not NULL. 42 42 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 43 43 Following should be an error. 44 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)44 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 45 45 Could not move to specified HDU #-1 in file multi.fits. 46 46 CFITSIO Error: illegal HDU number 47 47 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 48 48 Following should be an error. 49 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)49 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 50 50 Could not move -1 HDUs from current position in file multi.fits. 51 51 CFITSIO Error: illegal HDU number 52 52 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 53 53 Following should be an error. 54 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)54 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 55 55 Could not move to specified HDU #8 in file multi.fits. 56 56 CFITSIO Error: tried to move past end of file 57 57 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 58 58 Following should be an error. 59 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)59 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 60 60 Could not move 1 HDUs from current position in file multi.fits. 61 61 CFITSIO Error: tried to move past end of file 62 62 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 63 63 Following should be an error. 64 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)64 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 65 65 The input psFits object can not NULL. 66 66 … … 75 75 <DATE><TIME>|<HOST>|I|tst_psFitsReadHeader 76 76 following should be an error (input psFits = NULL) 77 <DATE><TIME>|<HOST>|E|psFitsReadHeader ( psFits.c:<LINENO>)77 <DATE><TIME>|<HOST>|E|psFitsReadHeader (FILE:LINENO) 78 78 The input psFits object can not NULL. 79 79 … … 86 86 \**********************************************************************************/ 87 87 88 <DATE><TIME>|<HOST>|E|psFitsReadHeaderSet ( psFits.c:<LINENO>)88 <DATE><TIME>|<HOST>|E|psFitsReadHeaderSet (FILE:LINENO) 89 89 The input psFits object can not NULL. 90 90 … … 97 97 \**********************************************************************************/ 98 98 99 <DATE><TIME>|<HOST>|E|psFitsReadTable ( psFits.c:<LINENO>)99 <DATE><TIME>|<HOST>|E|psFitsReadTable (FILE:LINENO) 100 100 The input psFits object can not NULL. 101 101 … … 119 119 <DATE><TIME>|<HOST>|I|testImageWrite 120 120 Following should generate an error message because input image is null. 121 <DATE><TIME>|<HOST>|E|psFitsWriteImage ( psFits.c:<LINENO>)121 <DATE><TIME>|<HOST>|E|psFitsWriteImage (FILE:LINENO) 122 122 The input psImage was NULL. Need a non-NULL psImage for operation to be performed. 123 123 -
trunk/psLib/test/dataManip/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for dataManip 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 = \ … … 55 57 tst_psVectorFFT 56 58 57 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 59 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 58 60 TESTS = \ 59 61 tst_psFunc00 \ -
trunk/psLib/test/dataManip/verified/tst_psFunc02.stderr
r2717 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psSpline1DAlloc ( psFunctions.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psSpline1DAlloc (FILE:LINENO) 4 4 Error: max and min are equal. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message 7 <DATE><TIME>|<HOST>|E|psSpline1DAlloc ( psFunctions.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psSpline1DAlloc (FILE:LINENO) 8 8 Error: max and min are equal. 9 9 <DATE><TIME>|<HOST>|I|main 10 10 Following should generate an error message. 11 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric ( psFunctions.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric (FILE:LINENO) 12 12 Error: order is less than 0. 13 13 <DATE><TIME>|<HOST>|I|main 14 14 Following should generate an error message. 15 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric ( psFunctions.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric (FILE:LINENO) 16 16 Unallowable operation: psVector bounds or its data is NULL. 17 17 <DATE><TIME>|<HOST>|I|main 18 18 Following should generate an error message. 19 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric ( psFunctions.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric (FILE:LINENO) 20 20 Unallowable operation: psVector bounds has no elements. -
trunk/psLib/test/dataManip/verified/tst_psHist00.stderr
r2718 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psHistogramAlloc ( psStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHistogramAlloc (FILE:LINENO) 4 4 Error: (lower > upper) (30.000000 20.000000) -
trunk/psLib/test/dataManip/verified/tst_psHist02.stderr
r2721 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psVectorHistogram ( psStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorHistogram (FILE:LINENO) 4 4 Unallowable operation: out is NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message. 7 <DATE><TIME>|<HOST>|E|psVectorHistogram ( psStats.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psVectorHistogram (FILE:LINENO) 8 8 Unallowable operation: psVector in or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix02.stderr
r2678 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixTranspose ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixTranspose (FILE:LINENO) 2 2 Invalid operation: Pointer to inImage is same as outImage. 3 <DATE><TIME>|<HOST>|E|psMatrixTranspose ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixTranspose (FILE:LINENO) 4 4 Unallowable operation: psImage inImage or its data is NULL. 5 <DATE><TIME>|<HOST>|E|psMatrixTranspose ( psMatrix.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMatrixTranspose (FILE:LINENO) 6 6 Invalid operation. inImage not PS_TYPE_F64. -
trunk/psLib/test/dataManip/verified/tst_psMatrix03.stderr
r2682 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixLUD ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixLUD (FILE:LINENO) 2 2 Unallowable operation: psImage inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixLUSolve ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixLUSolve (FILE:LINENO) 4 4 Unallowable operation: psVector inVector or its data is NULL. 5 <DATE><TIME>|<HOST>|E|psMatrixLUSolve ( psMatrix.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMatrixLUSolve (FILE:LINENO) 6 6 Unallowable operation: psImage inImage or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix04.stderr
r2288 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixInvert ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixInvert (FILE:LINENO) 2 2 Unallowable operation: psImage inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixInvert ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixInvert (FILE:LINENO) 4 4 Unallowable operation: det is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix07.stderr
r2696 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixToVector ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixToVector (FILE:LINENO) 2 2 Unallowable operation: psImage inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixToVector ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixToVector (FILE:LINENO) 4 4 Image does not have dim with 1 col or 1 row: (2 x 2). 5 <DATE><TIME>|<HOST>|E|psVectorToMatrix ( psMatrix.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psVectorToMatrix (FILE:LINENO) 6 6 Unallowable operation: psVector inVector or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr
r2693 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message 3 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 4 4 Unallowable operation: input1 is NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message 7 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 8 8 Unallowable operation: input2 is NULL. 9 9 <DATE><TIME>|<HOST>|I|main 10 10 Following should generate an error message 11 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 12 12 Unallowable operation: op is NULL. 13 13 <DATE><TIME>|<HOST>|I|main 14 14 Following should generate an error message 15 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 16 16 Unallowable operation: in is NULL. 17 17 <DATE><TIME>|<HOST>|I|main 18 18 Following should generate an error message 19 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 20 20 Unallowable operation: op is NULL. 21 21 <DATE><TIME>|<HOST>|I|main 22 22 Following should generate an error message 23 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)23 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 24 24 ptr input1 has type 1028, ptr input2 has type 1032. 25 25 <DATE><TIME>|<HOST>|I|main 26 26 Following should generate an error message 27 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)27 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 28 28 Specified psImage dimensions differed, 2x2 vs 3x3. 29 29 <DATE><TIME>|<HOST>|I|main 30 30 Following should generate an error message 31 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)31 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 32 32 Number of elements inconsistent, 2 vs 3. Number of elements must match. 33 33 <DATE><TIME>|<HOST>|I|main 34 34 Following should generate an error message 35 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)35 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 36 36 Number of elements inconsistent, 2 vs 3. Number of elements must match. 37 37 <DATE><TIME>|<HOST>|I|main 38 38 Following should generate an two error messages 39 <DATE><TIME>|<HOST>|E|psVectorRecycle ( psVector.c:<LINENO>)39 <DATE><TIME>|<HOST>|E|psVectorRecycle (FILE:LINENO) 40 40 The input psVector must have a vector dimension type. 41 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)41 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 42 42 Couldn't create a proper output psVector. 43 43 <DATE><TIME>|<HOST>|I|main 44 44 Following should generate error message 45 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)45 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 46 46 The minimum operation is not supported with complex data. 47 47 <DATE><TIME>|<HOST>|I|main 48 48 Following should generate an error message 49 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)49 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 50 50 The maximum operation is not supported with complex data. 51 51 <DATE><TIME>|<HOST>|I|main 52 52 Following should generate an error messgae 53 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)53 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 54 54 Specified operation, yarg, is not supported. 55 55 <DATE><TIME>|<HOST>|I|main 56 56 Following should generate an error message 57 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)57 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 58 58 Specified operation, yarg, is not supported. 59 59 <DATE><TIME>|<HOST>|I|main 60 60 Following should generate an error message 61 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)61 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 62 62 Unallowable operation: input1 has incorrect dimensionality. 63 63 <DATE><TIME>|<HOST>|I|main 64 64 Following should generate an error message 65 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)65 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 66 66 Specified parameter, in, has invalid dimensionality, 4. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04.stderr
r2288 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null input polynomial. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stderr
r3115 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null input polynomial. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04b.stderr
r2740 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null arguments. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stderr
r3115 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null arguments. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize05.stderr
r2743 r3127 1 1 <DATE><TIME>|<HOST>|I|t02 2 2 Following should generate error for null minimize. 3 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 4 4 Unallowable operation: min is NULL. 5 5 <DATE><TIME>|<HOST>|I|t02 6 6 Following should generate error for null parameter vector 7 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 8 8 Unallowable operation: psVector params or its data is NULL. 9 9 <DATE><TIME>|<HOST>|I|t02 10 10 Following should generate error for null coords. 11 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 12 12 Unallowable operation: coords is NULL. 13 13 <DATE><TIME>|<HOST>|I|t02 14 14 Following should generate error for null function 15 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 16 16 Unallowable operation: func is NULL. -
trunk/psLib/test/dataManip/verified/tst_psRandom.stderr
r3012 r3127 1 1 <DATE><TIME>|<HOST>|I|t00 2 2 Invalid type, should generate error message 3 <DATE><TIME>|<HOST>|E|psRandomAlloc ( psRandom.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psRandomAlloc (FILE:LINENO) 4 4 Unknown Random Number Generator Type 5 5 <DATE><TIME>|<HOST>|I|t01 6 6 NULL psRandom variable, should generate error message 7 <DATE><TIME>|<HOST>|E|psRandomUniform ( psRandom.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psRandomUniform (FILE:LINENO) 8 8 Random variable is NULL. 9 9 <DATE><TIME>|<HOST>|I|t02 10 10 NULL psRandom variable, should generate error message 11 <DATE><TIME>|<HOST>|E|psRandomGaussian ( psRandom.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psRandomGaussian (FILE:LINENO) 12 12 Random variable is NULL. 13 13 <DATE><TIME>|<HOST>|I|t03 14 14 NULL psRandom variable, should generate error message 15 <DATE><TIME>|<HOST>|E|psRandomPoisson ( psRandom.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psRandomPoisson (FILE:LINENO) 16 16 Random variable is NULL. 17 17 <DATE><TIME>|<HOST>|I|t04 18 18 Reset a NULL psRandom variable, should generate an error message 19 <DATE><TIME>|<HOST>|E|psRandomReset ( psRandom.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psRandomReset (FILE:LINENO) 20 20 Random variable is NULL. -
trunk/psLib/test/dataManip/verified/tst_psStats00.stderr
r2723 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psVectorStats ( psStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorStats (FILE:LINENO) 4 4 Unallowable operation: psVector in or its data is NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message. 7 <DATE><TIME>|<HOST>|E|psVectorStats ( psStats.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psVectorStats (FILE:LINENO) 8 8 Unallowable operation: stats is NULL. -
trunk/psLib/test/dataManip/verified/tst_psVectorFFT.stderr
r2713 r3127 7 7 <DATE><TIME>|<HOST>|I|testVectorFFT 8 8 Following should generate an error message. 9 <DATE><TIME>|<HOST>|E|psVectorFFT ( psVectorFFT.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psVectorFFT (FILE:LINENO) 10 10 Must specify the direction as either PS_FFT_FORWARD or PS_FFT_REVERSE. 11 11 … … 37 37 <DATE><TIME>|<HOST>|I|testVectorComplex 38 38 Following should be an error (type mismatch). 39 <DATE><TIME>|<HOST>|E|psVectorComplex ( psVectorFFT.c:<LINENO>)39 <DATE><TIME>|<HOST>|E|psVectorComplex (FILE:LINENO) 40 40 Real psVector type, psF32, and imaginary psVector type, psF64, must be the same. 41 41 <DATE><TIME>|<HOST>|I|testVectorComplex 42 42 Following should generate an error message. 43 <DATE><TIME>|<HOST>|E|psVectorComplex ( psVectorFFT.c:<LINENO>)43 <DATE><TIME>|<HOST>|E|psVectorComplex (FILE:LINENO) 44 44 Input psVector type, psS8, is required to be either psF32 or psF64. 45 45 … … 67 67 <DATE><TIME>|<HOST>|I|testVectorPowerSpectrum 68 68 Following should generate an error message. 69 <DATE><TIME>|<HOST>|E|psVectorPowerSpectrum ( psVectorFFT.c:<LINENO>)69 <DATE><TIME>|<HOST>|E|psVectorPowerSpectrum (FILE:LINENO) 70 70 Input psVector type, psF32, is required to be either psC32 or psC64. 71 71 -
trunk/psLib/test/fileUtils/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for fileUtils 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 = \ … … 17 19 tst_psFits 18 20 19 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 21 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 20 22 TESTS = \ 21 23 tst_psLookupTable_01 \ -
trunk/psLib/test/fileUtils/verified/tst_psFits.stderr
r3028 r3127 16 16 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtName 17 17 Following should be an error. 18 <DATE><TIME>|<HOST>|E|psFitsMoveExtName ( psFits.c:<LINENO>)18 <DATE><TIME>|<HOST>|E|psFitsMoveExtName (FILE:LINENO) 19 19 Could not find HDU 'bogus' in file multi.fits. 20 20 CFITSIO Error: illegal HDU number 21 21 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtName 22 22 Following should be an error. 23 <DATE><TIME>|<HOST>|E|psFitsMoveExtName ( psFits.c:<LINENO>)23 <DATE><TIME>|<HOST>|E|psFitsMoveExtName (FILE:LINENO) 24 24 The input psFits object can not NULL. 25 25 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtName 26 26 Following should be an error. 27 <DATE><TIME>|<HOST>|E|psFitsMoveExtName ( psFits.c:<LINENO>)27 <DATE><TIME>|<HOST>|E|psFitsMoveExtName (FILE:LINENO) 28 28 Specified extension name can not be NULL. 29 29 … … 38 38 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 39 39 Following should be an error. 40 <DATE><TIME>|<HOST>|E|psFitsGetSize ( psFits.c:<LINENO>)40 <DATE><TIME>|<HOST>|E|psFitsGetSize (FILE:LINENO) 41 41 The input psFits object can not NULL. 42 42 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 43 43 Following should be an error. 44 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)44 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 45 45 Could not move to specified HDU #-1 in file multi.fits. 46 46 CFITSIO Error: illegal HDU number 47 47 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 48 48 Following should be an error. 49 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)49 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 50 50 Could not move -1 HDUs from current position in file multi.fits. 51 51 CFITSIO Error: illegal HDU number 52 52 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 53 53 Following should be an error. 54 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)54 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 55 55 Could not move to specified HDU #8 in file multi.fits. 56 56 CFITSIO Error: tried to move past end of file 57 57 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 58 58 Following should be an error. 59 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)59 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 60 60 Could not move 1 HDUs from current position in file multi.fits. 61 61 CFITSIO Error: tried to move past end of file 62 62 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 63 63 Following should be an error. 64 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum ( psFits.c:<LINENO>)64 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 65 65 The input psFits object can not NULL. 66 66 … … 75 75 <DATE><TIME>|<HOST>|I|tst_psFitsReadHeader 76 76 following should be an error (input psFits = NULL) 77 <DATE><TIME>|<HOST>|E|psFitsReadHeader ( psFits.c:<LINENO>)77 <DATE><TIME>|<HOST>|E|psFitsReadHeader (FILE:LINENO) 78 78 The input psFits object can not NULL. 79 79 … … 86 86 \**********************************************************************************/ 87 87 88 <DATE><TIME>|<HOST>|E|psFitsReadHeaderSet ( psFits.c:<LINENO>)88 <DATE><TIME>|<HOST>|E|psFitsReadHeaderSet (FILE:LINENO) 89 89 The input psFits object can not NULL. 90 90 … … 97 97 \**********************************************************************************/ 98 98 99 <DATE><TIME>|<HOST>|E|psFitsReadTable ( psFits.c:<LINENO>)99 <DATE><TIME>|<HOST>|E|psFitsReadTable (FILE:LINENO) 100 100 The input psFits object can not NULL. 101 101 … … 119 119 <DATE><TIME>|<HOST>|I|testImageWrite 120 120 Following should generate an error message because input image is null. 121 <DATE><TIME>|<HOST>|E|psFitsWriteImage ( psFits.c:<LINENO>)121 <DATE><TIME>|<HOST>|E|psFitsWriteImage (FILE:LINENO) 122 122 The input psImage was NULL. Need a non-NULL psImage for operation to be performed. 123 123 -
trunk/psLib/test/image/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for image 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 = \ … … 27 29 tst_psImageInterpolate 28 30 29 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 31 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 30 32 TESTS = \ 31 33 tst_psImage \ -
trunk/psLib/test/image/verified/tst_psImage.stderr
r2879 r3127 11 11 <DATE><TIME>|<HOST>|I|testImageAlloc 12 12 Following should be an error. 13 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 14 14 Specified number of rows (0) or columns (0) is invalid. 15 15 <DATE><TIME>|<HOST>|I|testImageAlloc … … 17 17 <DATE><TIME>|<HOST>|I|testImageAlloc 18 18 Following should be an error. 19 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 20 20 Specified number of rows (0) or columns (0) is invalid. 21 21 <DATE><TIME>|<HOST>|I|testImageAlloc … … 23 23 <DATE><TIME>|<HOST>|I|testImageAlloc 24 24 Following should be an error. 25 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)25 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 26 26 Specified number of rows (0) or columns (0) is invalid. 27 27 <DATE><TIME>|<HOST>|I|testImageAlloc … … 29 29 <DATE><TIME>|<HOST>|I|testImageAlloc 30 30 Following should be an error. 31 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)31 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 32 32 Specified number of rows (0) or columns (0) is invalid. 33 33 <DATE><TIME>|<HOST>|I|testImageAlloc … … 35 35 <DATE><TIME>|<HOST>|I|testImageAlloc 36 36 Following should be an error. 37 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)37 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 38 38 Specified number of rows (0) or columns (0) is invalid. 39 39 <DATE><TIME>|<HOST>|I|testImageAlloc … … 41 41 <DATE><TIME>|<HOST>|I|testImageAlloc 42 42 Following should be an error. 43 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)43 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 44 44 Specified number of rows (0) or columns (0) is invalid. 45 45 <DATE><TIME>|<HOST>|I|testImageAlloc … … 47 47 <DATE><TIME>|<HOST>|I|testImageAlloc 48 48 Following should be an error. 49 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)49 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 50 50 Specified number of rows (0) or columns (0) is invalid. 51 51 <DATE><TIME>|<HOST>|I|testImageAlloc … … 53 53 <DATE><TIME>|<HOST>|I|testImageAlloc 54 54 Following should be an error. 55 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)55 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 56 56 Specified number of rows (0) or columns (0) is invalid. 57 57 <DATE><TIME>|<HOST>|I|testImageAlloc … … 59 59 <DATE><TIME>|<HOST>|I|testImageAlloc 60 60 Following should be an error. 61 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)61 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 62 62 Specified number of rows (0) or columns (0) is invalid. 63 63 <DATE><TIME>|<HOST>|I|testImageAlloc … … 65 65 <DATE><TIME>|<HOST>|I|testImageAlloc 66 66 Following should be an error. 67 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)67 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 68 68 Specified number of rows (0) or columns (0) is invalid. 69 69 <DATE><TIME>|<HOST>|I|testImageAlloc … … 71 71 <DATE><TIME>|<HOST>|I|testImageAlloc 72 72 Following should be an error. 73 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)73 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 74 74 Specified number of rows (0) or columns (0) is invalid. 75 75 <DATE><TIME>|<HOST>|I|testImageAlloc … … 77 77 <DATE><TIME>|<HOST>|I|testImageAlloc 78 78 Following should be an error. 79 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)79 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 80 80 Specified number of rows (0) or columns (0) is invalid. 81 81 <DATE><TIME>|<HOST>|I|testImageAlloc … … 83 83 <DATE><TIME>|<HOST>|I|testImageAlloc 84 84 Following should be an error. 85 <DATE><TIME>|<HOST>|E|psImageAlloc ( psImage.c:<LINENO>)85 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 86 86 Specified number of rows (0) or columns (0) is invalid. 87 87 … … 112 112 <DATE><TIME>|<HOST>|I|testImageCopy 113 113 An error should follow... 114 <DATE><TIME>|<HOST>|E|psImageCopy ( psImage.c:<LINENO>)114 <DATE><TIME>|<HOST>|E|psImageCopy (FILE:LINENO) 115 115 Can not operate on a NULL psImage. 116 116 … … 123 123 \**********************************************************************************/ 124 124 125 <DATE><TIME>|<HOST>|E|psRegionFromString ( psImage.c:<LINENO>)126 Specified subsection string, '[1: <LINENO>,3:]', can not be parsed. Must be in the form '[x1:x2,y1:y2]'.125 <DATE><TIME>|<HOST>|E|psRegionFromString (FILE:LINENO) 126 Specified subsection string, '[1:2,3:]', can not be parsed. Must be in the form '[x1:x2,y1:y2]'. 127 127 128 128 ---> TESTPOINT PASSED (psImage{psRegionAlloc} | tst_psImage.c) -
trunk/psLib/test/image/verified/tst_psImageConvolve.stderr
r2911 r3127 24 24 <DATE><TIME>|<HOST>|I|testKernelGenerate 25 25 Following should be an error. 26 <DATE><TIME>|<HOST>|E|psKernelGenerate ( psImageConvolve.c:<LINENO>)26 <DATE><TIME>|<HOST>|E|psKernelGenerate (FILE:LINENO) 27 27 Shift vectors can not be of different sizes. 28 28 <DATE><TIME>|<HOST>|I|testKernelGenerate 29 29 Following should be a error (time vector NULL). 30 <DATE><TIME>|<HOST>|E|psKernelGenerate ( psImageConvolve.c:<LINENO>)30 <DATE><TIME>|<HOST>|E|psKernelGenerate (FILE:LINENO) 31 31 Specified shift vectors can not be NULL. 32 32 <DATE><TIME>|<HOST>|I|testKernelGenerate 33 33 Following should be a error (x vector NULL). 34 <DATE><TIME>|<HOST>|E|psKernelGenerate ( psImageConvolve.c:<LINENO>)34 <DATE><TIME>|<HOST>|E|psKernelGenerate (FILE:LINENO) 35 35 Specified shift vectors can not be NULL. 36 36 <DATE><TIME>|<HOST>|I|testKernelGenerate 37 37 Following should be a error (y vector NULL). 38 <DATE><TIME>|<HOST>|E|psKernelGenerate ( psImageConvolve.c:<LINENO>)38 <DATE><TIME>|<HOST>|E|psKernelGenerate (FILE:LINENO) 39 39 Specified shift vectors can not be NULL. 40 40 -
trunk/psLib/test/image/verified/tst_psImageExtraction.stderr
r2279 r3127 23 23 <DATE><TIME>|<HOST>|I|testImageSubset 24 24 An error should follow... 25 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)25 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 26 26 Can not operate on a NULL psImage. 27 27 <DATE><TIME>|<HOST>|I|testImageSubset … … 29 29 <DATE><TIME>|<HOST>|I|testImageSubset 30 30 An error should follow... 31 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)32 Specified subset range, [0: <LINENO>,128:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].33 <DATE><TIME>|<HOST>|I|testImageSubset 34 An error should follow... 35 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)36 Specified subset range, [64: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].31 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 32 Specified subset range, [0:63,128:127], is invalid or outside input psImage's boundaries, [0:127,0:255]. 33 <DATE><TIME>|<HOST>|I|testImageSubset 34 An error should follow... 35 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 36 Specified subset range, [64:63,0:127], is invalid or outside input psImage's boundaries, [0:127,0:255]. 37 37 <DATE><TIME>|<HOST>|I|testImageSubset 38 38 Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameters row0 and col0 are not within the range of values of psImage structure image. 39 39 <DATE><TIME>|<HOST>|I|testImageSubset 40 40 An error should follow... 41 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)42 Specified subset range, [0: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].43 <DATE><TIME>|<HOST>|I|testImageSubset 44 An error should follow... 45 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)46 Specified subset range, [0: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].47 <DATE><TIME>|<HOST>|I|testImageSubset 48 An error should follow... 49 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)50 Specified subset range, [-1: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].51 <DATE><TIME>|<HOST>|I|testImageSubset 52 An error should follow... 53 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)54 Specified subset range, [0: <LINENO>,-1:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].41 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 42 Specified subset range, [0:63,0:511], is invalid or outside input psImage's boundaries, [0:127,0:255]. 43 <DATE><TIME>|<HOST>|I|testImageSubset 44 An error should follow... 45 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 46 Specified subset range, [0:255,0:127], is invalid or outside input psImage's boundaries, [0:127,0:255]. 47 <DATE><TIME>|<HOST>|I|testImageSubset 48 An error should follow... 49 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 50 Specified subset range, [-1:63,0:127], is invalid or outside input psImage's boundaries, [0:127,0:255]. 51 <DATE><TIME>|<HOST>|I|testImageSubset 52 An error should follow... 53 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 54 Specified subset range, [0:63,-1:127], is invalid or outside input psImage's boundaries, [0:127,0:255]. 55 55 <DATE><TIME>|<HOST>|I|testImageSubset 56 56 Verify the returned psImage structure pointer is null and program execution doesn't stop if the input parameters nrow, ncol, row0 and col0 specify a range of data not within the input psImage structure image. Also verify the input psImage structure is not modified. 57 57 <DATE><TIME>|<HOST>|I|testImageSubset 58 58 An error should follow... 59 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)60 Specified subset range, [0: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].61 <DATE><TIME>|<HOST>|I|testImageSubset 62 An error should follow... 63 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)64 Specified subset range, [0: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].65 <DATE><TIME>|<HOST>|I|testImageSubset 66 An error should follow... 67 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)68 Specified subset range, [0: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].59 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 60 Specified subset range, [0:63,0:256], is invalid or outside input psImage's boundaries, [0:127,0:255]. 61 <DATE><TIME>|<HOST>|I|testImageSubset 62 An error should follow... 63 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 64 Specified subset range, [0:128,0:127], is invalid or outside input psImage's boundaries, [0:127,0:255]. 65 <DATE><TIME>|<HOST>|I|testImageSubset 66 An error should follow... 67 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 68 Specified subset range, [0:128,0:256], is invalid or outside input psImage's boundaries, [0:127,0:255]. 69 69 <DATE><TIME>|<HOST>|I|testImageSubset 70 70 psImageFreeChildren shall deallocate any children images of a psImage structure … … 79 79 80 80 <DATE><TIME>|<HOST>|I|testImageSubsection 81 Testing subsection [0: <LINENO>,0:<LINENO>].82 <DATE><TIME>|<HOST>|I|testImageSubsection 83 Testing subsection [32: <LINENO>,32:<LINENO>].84 <DATE><TIME>|<HOST>|I|testImageSubsection 85 Testing subsection [64: <LINENO>,32:<LINENO>].86 <DATE><TIME>|<HOST>|I|testImageSubsection 87 Testing subsection [32: <LINENO>,128:<LINENO>].81 Testing subsection [0:32,0:32]. 82 <DATE><TIME>|<HOST>|I|testImageSubsection 83 Testing subsection [32:64,32:64]. 84 <DATE><TIME>|<HOST>|I|testImageSubsection 85 Testing subsection [64:127,32:64]. 86 <DATE><TIME>|<HOST>|I|testImageSubsection 87 Testing subsection [32:64,128:255]. 88 88 <DATE><TIME>|<HOST>|I|testImageSubsection 89 89 An error should follow (x1>x2) 90 <DATE><TIME>|<HOST>|E|psImageSubsection ( psImageExtraction.c:<LINENO>)91 Specified subset range, [64: <LINENO>,32:<LINENO>], is invalid. Ranges must be incremental.90 <DATE><TIME>|<HOST>|E|psImageSubsection (FILE:LINENO) 91 Specified subset range, [64:32,32:64], is invalid. Ranges must be incremental. 92 92 <DATE><TIME>|<HOST>|I|testImageSubsection 93 93 An error should follow (y1>y2) 94 <DATE><TIME>|<HOST>|E|psImageSubsection ( psImageExtraction.c:<LINENO>)95 Specified subset range, [32: <LINENO>,64:<LINENO>], is invalid. Ranges must be incremental.94 <DATE><TIME>|<HOST>|E|psImageSubsection (FILE:LINENO) 95 Specified subset range, [32:64,64:32], is invalid. Ranges must be incremental. 96 96 <DATE><TIME>|<HOST>|I|testImageSubsection 97 97 An error should follow (x2>nCols) 98 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)99 Specified subset range, [64: <LINENO>,32:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].98 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 99 Specified subset range, [64:256,32:64], is invalid or outside input psImage's boundaries, [0:127,0:255]. 100 100 <DATE><TIME>|<HOST>|I|testImageSubsection 101 101 An error should follow (y2>=nRows) 102 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)103 Specified subset range, [32: <LINENO>,64:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].102 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 103 Specified subset range, [32:64,64:256], is invalid or outside input psImage's boundaries, [0:127,0:255]. 104 104 <DATE><TIME>|<HOST>|I|testImageSubsection 105 105 An error should follow (malformed string - no brackets) 106 <DATE><TIME>|<HOST>|E|psImageSubsection ( psImageExtraction.c:<LINENO>)107 Specified subsection string, '32: <LINENO>,32:<LINENO>', can not be parsed. Must be in the form '[x1:x2,y1:y2]'.106 <DATE><TIME>|<HOST>|E|psImageSubsection (FILE:LINENO) 107 Specified subsection string, '32:64,32:64', can not be parsed. Must be in the form '[x1:x2,y1:y2]'. 108 108 <DATE><TIME>|<HOST>|I|testImageSubsection 109 109 An error should follow (malformed string - no colons) 110 <DATE><TIME>|<HOST>|E|psImageSubsection ( psImageExtraction.c:<LINENO>)110 <DATE><TIME>|<HOST>|E|psImageSubsection (FILE:LINENO) 111 111 Specified subsection string, '[32-64,32-64]', can not be parsed. Must be in the form '[x1:x2,y1:y2]'. 112 112 <DATE><TIME>|<HOST>|I|testImageSubsection 113 113 An error should follow (malformed string - not four numbers) 114 <DATE><TIME>|<HOST>|E|psImageSubsection ( psImageExtraction.c:<LINENO>)115 Specified subsection string, '[32: <LINENO>,32]', can not be parsed. Must be in the form '[x1:x2,y1:y2]'.114 <DATE><TIME>|<HOST>|E|psImageSubsection (FILE:LINENO) 115 Specified subsection string, '[32:64,32]', can not be parsed. Must be in the form '[x1:x2,y1:y2]'. 116 116 <DATE><TIME>|<HOST>|I|testImageSubsection 117 117 An error should follow (image is NULL) 118 <DATE><TIME>|<HOST>|E|imageSubset ( psImageExtraction.c:<LINENO>)118 <DATE><TIME>|<HOST>|E|imageSubset (FILE:LINENO) 119 119 Can not operate on a NULL psImage. 120 120 <DATE><TIME>|<HOST>|I|testImageSubsection 121 121 An error should follow (subsection string is NULL) 122 <DATE><TIME>|<HOST>|E|psImageSubsection ( psImageExtraction.c:<LINENO>)122 <DATE><TIME>|<HOST>|E|psImageSubsection (FILE:LINENO) 123 123 Specified subsection string can not be NULL. 124 124 … … 133 133 <DATE><TIME>|<HOST>|I|testImageSlice 134 134 Following should be an error. 135 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)136 Can not operate on a NULL psImage. 137 <DATE><TIME>|<HOST>|I|testImageSlice 138 Following should be an error. 139 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)135 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 136 Can not operate on a NULL psImage. 137 <DATE><TIME>|<HOST>|I|testImageSlice 138 Following should be an error. 139 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 140 140 Specified statistic can not be NULL. 141 141 <DATE><TIME>|<HOST>|I|testImageSlice 142 142 Following should be an error. 143 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)143 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 144 144 Specified slice direction, 5, is invalid. 145 145 <DATE><TIME>|<HOST>|I|testImageSlice 146 146 Following should be an error. 147 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)148 Specified subset range, [30: <LINENO>,20:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].149 <DATE><TIME>|<HOST>|I|testImageSlice 150 Following should be an error. 151 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)152 Specified subset range, [301: <LINENO>,20:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].153 <DATE><TIME>|<HOST>|I|testImageSlice 154 Following should be an error. 155 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)156 Specified subset range, [30: <LINENO>,201:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].157 <DATE><TIME>|<HOST>|I|testImageSlice 158 Following should be an error. 159 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)160 Specified subset range, [30: <LINENO>,20:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].161 <DATE><TIME>|<HOST>|I|testImageSlice 162 Following should be an error. 163 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)164 Specified subset range, [30: <LINENO>,20:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].165 <DATE><TIME>|<HOST>|I|testImageSlice 166 Following should be an error. 167 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)147 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 148 Specified subset range, [30:30,20:20], is invalid or outside input psImage's boundaries, [0:300,0:200]. 149 <DATE><TIME>|<HOST>|I|testImageSlice 150 Following should be an error. 151 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 152 Specified subset range, [301:302,20:30], is invalid or outside input psImage's boundaries, [0:300,0:200]. 153 <DATE><TIME>|<HOST>|I|testImageSlice 154 Following should be an error. 155 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 156 Specified subset range, [30:31,201:205], is invalid or outside input psImage's boundaries, [0:300,0:200]. 157 <DATE><TIME>|<HOST>|I|testImageSlice 158 Following should be an error. 159 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 160 Specified subset range, [30:301,20:21], is invalid or outside input psImage's boundaries, [0:300,0:200]. 161 <DATE><TIME>|<HOST>|I|testImageSlice 162 Following should be an error. 163 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 164 Specified subset range, [30:31,20:201], is invalid or outside input psImage's boundaries, [0:300,0:200]. 165 <DATE><TIME>|<HOST>|I|testImageSlice 166 Following should be an error. 167 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 168 168 Specified statistic option, 0, is not valid. Must specify one and only one statistic type. 169 169 <DATE><TIME>|<HOST>|I|testImageSlice 170 170 Following should be an error mask size != image size. 171 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)171 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 172 172 Input psImage mask size, 200x300, does not match psImage input size, 300x200. 173 173 <DATE><TIME>|<HOST>|I|testImageSlice 174 174 Following should be an error invalid mask type. 175 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)175 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 176 176 Input psImage mask type, psS8, is not the supported mask datatype of psU8. 177 177 <DATE><TIME>|<HOST>|I|testImageSlice 178 178 Following should be an error invalid image type. 179 <DATE><TIME>|<HOST>|E|psImageSlice ( psImageExtraction.c:<LINENO>)179 <DATE><TIME>|<HOST>|E|psImageSlice (FILE:LINENO) 180 180 Specified psImage type, psU8, is not supported. 181 181 … … 188 188 \**********************************************************************************/ 189 189 190 <DATE><TIME>|<HOST>|E|psImageTrim ( psImageExtraction.c:<LINENO>)191 Can not operate on a NULL psImage. 192 <DATE><TIME>|<HOST>|E|psImageTrim ( psImageExtraction.c:<LINENO>)193 Specified subset range, [-1: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].194 <DATE><TIME>|<HOST>|E|psImageTrim ( psImageExtraction.c:<LINENO>)195 Specified subset range, [0: <LINENO>,-1:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].196 <DATE><TIME>|<HOST>|E|psImageTrim ( psImageExtraction.c:<LINENO>)197 Specified subset range, [0: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].198 <DATE><TIME>|<HOST>|E|psImageTrim ( psImageExtraction.c:<LINENO>)199 Specified subset range, [0: <LINENO>,0:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].200 <DATE><TIME>|<HOST>|E|psImageTrim ( psImageExtraction.c:<LINENO>)201 Specified subset range, [0:-1,0: <LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].202 <DATE><TIME>|<HOST>|E|psImageTrim ( psImageExtraction.c:<LINENO>)203 Specified subset range, [0: <LINENO>,0:-1], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].190 <DATE><TIME>|<HOST>|E|psImageTrim (FILE:LINENO) 191 Can not operate on a NULL psImage. 192 <DATE><TIME>|<HOST>|E|psImageTrim (FILE:LINENO) 193 Specified subset range, [-1:299,0:199], is invalid or outside input psImage's boundaries, [0:299,0:199]. 194 <DATE><TIME>|<HOST>|E|psImageTrim (FILE:LINENO) 195 Specified subset range, [0:299,-1:199], is invalid or outside input psImage's boundaries, [0:299,0:199]. 196 <DATE><TIME>|<HOST>|E|psImageTrim (FILE:LINENO) 197 Specified subset range, [0:300,0:199], is invalid or outside input psImage's boundaries, [0:299,0:199]. 198 <DATE><TIME>|<HOST>|E|psImageTrim (FILE:LINENO) 199 Specified subset range, [0:299,0:200], is invalid or outside input psImage's boundaries, [0:299,0:199]. 200 <DATE><TIME>|<HOST>|E|psImageTrim (FILE:LINENO) 201 Specified subset range, [0:-1,0:199], is invalid or outside input psImage's boundaries, [0:299,0:199]. 202 <DATE><TIME>|<HOST>|E|psImageTrim (FILE:LINENO) 203 Specified subset range, [0:299,0:-1], is invalid or outside input psImage's boundaries, [0:299,0:199]. 204 204 205 205 ---> TESTPOINT PASSED (psImage{psImageTrim} | tst_psImageExtraction.c) … … 213 213 <DATE><TIME>|<HOST>|I|testImageCut 214 214 The following should be an error. 215 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)216 Specified line, (-1.000000,10.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].217 <DATE><TIME>|<HOST>|I|testImageCut 218 The following should be an error. 219 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)220 Specified line, (300.000000,10.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].221 <DATE><TIME>|<HOST>|I|testImageCut 222 The following should be an error. 223 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)224 Specified line, (20.000000,10.000000)->(-1.000000,180.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].225 <DATE><TIME>|<HOST>|I|testImageCut 226 The following should be an error. 227 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)228 Specified line, (20.000000,10.000000)->(300.000000,180.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].229 <DATE><TIME>|<HOST>|I|testImageCut 230 The following should be an error. 231 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)232 Specified line, (20.000000,-1.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].233 <DATE><TIME>|<HOST>|I|testImageCut 234 The following should be an error. 235 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)236 Specified line, (20.000000,200.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].237 <DATE><TIME>|<HOST>|I|testImageCut 238 The following should be an error. 239 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)240 Specified line, (20.000000,10.000000)->(240.000000,-1.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].241 <DATE><TIME>|<HOST>|I|testImageCut 242 The following should be an error. 243 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)244 Specified line, (20.000000,10.000000)->(240.000000,200.000000), does not entirely lie in psImage's boundaries, [0: <LINENO>,0:<LINENO>].215 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 216 Specified line, (-1.000000,10.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 217 <DATE><TIME>|<HOST>|I|testImageCut 218 The following should be an error. 219 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 220 Specified line, (300.000000,10.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 221 <DATE><TIME>|<HOST>|I|testImageCut 222 The following should be an error. 223 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 224 Specified line, (20.000000,10.000000)->(-1.000000,180.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 225 <DATE><TIME>|<HOST>|I|testImageCut 226 The following should be an error. 227 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 228 Specified line, (20.000000,10.000000)->(300.000000,180.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 229 <DATE><TIME>|<HOST>|I|testImageCut 230 The following should be an error. 231 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 232 Specified line, (20.000000,-1.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 233 <DATE><TIME>|<HOST>|I|testImageCut 234 The following should be an error. 235 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 236 Specified line, (20.000000,200.000000)->(240.000000,180.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 237 <DATE><TIME>|<HOST>|I|testImageCut 238 The following should be an error. 239 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 240 Specified line, (20.000000,10.000000)->(240.000000,-1.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 241 <DATE><TIME>|<HOST>|I|testImageCut 242 The following should be an error. 243 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 244 Specified line, (20.000000,10.000000)->(240.000000,200.000000), does not entirely lie in psImage's boundaries, [0:299,0:199]. 245 245 <DATE><TIME>|<HOST>|I|testImageCut 246 246 Following should be an error (NULL image). 247 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)247 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 248 248 Can not operate on a NULL psImage. 249 249 <DATE><TIME>|<HOST>|I|testImageCut 250 250 Following should be an error (length=0). 251 <DATE><TIME>|<HOST>|E|psImageCut ( psImageExtraction.c:<LINENO>)251 <DATE><TIME>|<HOST>|E|psImageCut (FILE:LINENO) 252 252 Specified number of samples, 0, must be greater than 1 to make a line. 253 253 … … 262 262 <DATE><TIME>|<HOST>|I|testImageRadialCut 263 263 Following should be an error. 264 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)265 Can not operate on a NULL psImage. 266 <DATE><TIME>|<HOST>|I|testImageRadialCut 267 Following should be an error. 268 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)264 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 265 Can not operate on a NULL psImage. 266 <DATE><TIME>|<HOST>|I|testImageRadialCut 267 Following should be an error. 268 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 269 269 Specified radii vector can not be NULL. 270 270 <DATE><TIME>|<HOST>|I|testImageRadialCut 271 271 Following should be an error. 272 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)272 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 273 273 Specified statistic can not be NULL. 274 274 <DATE><TIME>|<HOST>|I|testImageRadialCut 275 275 Following should be an error. 276 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)277 Specified center, (301,100), is outside of the psImage boundaries, [0: <LINENO>,0:<LINENO>].278 <DATE><TIME>|<HOST>|I|testImageRadialCut 279 Following should be an error. 280 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)281 Specified center, (150,201), is outside of the psImage boundaries, [0: <LINENO>,0:<LINENO>].282 <DATE><TIME>|<HOST>|I|testImageRadialCut 283 Following should be an error. 284 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)276 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 277 Specified center, (301,100), is outside of the psImage boundaries, [0:299,0:199]. 278 <DATE><TIME>|<HOST>|I|testImageRadialCut 279 Following should be an error. 280 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 281 Specified center, (150,201), is outside of the psImage boundaries, [0:299,0:199]. 282 <DATE><TIME>|<HOST>|I|testImageRadialCut 283 Following should be an error. 284 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 285 285 Input psImage mask type, psF32, is not the supported mask datatype of psU8. 286 286 <DATE><TIME>|<HOST>|I|testImageRadialCut 287 287 Following should be an error. 288 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)288 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 289 289 Input psImage mask size, 150x100, does not match psImage input size, 300x200. 290 290 <DATE><TIME>|<HOST>|I|testImageRadialCut 291 291 Following should be an error. 292 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)292 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 293 293 Input radii vector size, 1, can not be less than 2. 294 294 <DATE><TIME>|<HOST>|I|testImageRadialCut 295 295 Following should be an error. 296 <DATE><TIME>|<HOST>|E|psImageRadialCut ( psImageExtraction.c:<LINENO>)296 <DATE><TIME>|<HOST>|E|psImageRadialCut (FILE:LINENO) 297 297 Specified statistic option, 0, is not valid. Must specify one and only one statistic type. 298 298 -
trunk/psLib/test/image/verified/tst_psImageFFT.stderr
r2714 r3127 7 7 <DATE><TIME>|<HOST>|I|testImageFFT 8 8 Following should be an error. 9 <DATE><TIME>|<HOST>|E|psImageFFT ( psImageFFT.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psImageFFT (FILE:LINENO) 10 10 Can not specify both PS_FFT_FORWARD and PS_FFT_REVERSE options. 11 11 <DATE><TIME>|<HOST>|I|testImageFFT 12 12 Following should be an error. 13 <DATE><TIME>|<HOST>|E|psImageFFT ( psImageFFT.c:<LINENO>)13 <DATE><TIME>|<HOST>|E|psImageFFT (FILE:LINENO) 14 14 The PS_FFT_FORWARD and PS_FFT_REAL_RESULT combinition is not supported. 15 15 <DATE><TIME>|<HOST>|I|testImageFFT 16 16 Following should generate error for invalid direction. 17 <DATE><TIME>|<HOST>|E|psImageFFT ( psImageFFT.c:<LINENO>)17 <DATE><TIME>|<HOST>|E|psImageFFT (FILE:LINENO) 18 18 Must specify either PS_FFT_FORWARD or PS_FFT_REVERSE option. 19 19 … … 37 37 <DATE><TIME>|<HOST>|I|testImageComplex 38 38 Following should be an error (type mismatch). 39 <DATE><TIME>|<HOST>|E|psImageComplex ( psImageFFT.c:<LINENO>)39 <DATE><TIME>|<HOST>|E|psImageComplex (FILE:LINENO) 40 40 Real psImage type (psF32) and imaginary psImage type (psF64) must be the same. 41 41 <DATE><TIME>|<HOST>|I|testImageComplex 42 42 Following should be an error (size mismatch). 43 <DATE><TIME>|<HOST>|E|psImageComplex ( psImageFFT.c:<LINENO>)43 <DATE><TIME>|<HOST>|E|psImageComplex (FILE:LINENO) 44 44 Real psImage size (128x64) and imaginary psImage size (64x64) must be the same. 45 45 <DATE><TIME>|<HOST>|I|testImageComplex 46 46 Following should generate an error message. 47 <DATE><TIME>|<HOST>|E|psImageComplex ( psImageFFT.c:<LINENO>)47 <DATE><TIME>|<HOST>|E|psImageComplex (FILE:LINENO) 48 48 Input psImage type, psS16, is required to be either psF32 or psF64. 49 49 … … 67 67 <DATE><TIME>|<HOST>|I|testImagePowerSpectrum 68 68 Following should generate error message. 69 <DATE><TIME>|<HOST>|E|psImagePowerSpectrum ( psImageFFT.c:<LINENO>)69 <DATE><TIME>|<HOST>|E|psImagePowerSpectrum (FILE:LINENO) 70 70 Input psImage type, psF32, is required to be either psC32 or psC64. 71 71 -
trunk/psLib/test/image/verified/tst_psImageIO.stderr
r2976 r3127 329 329 <DATE><TIME>|<HOST>|W|psImageReadSection 330 330 psImageReadSection is deprecated. Consider using psFitsReadImage instead. 331 <DATE><TIME>|<HOST>|E|psImageReadSection ( psImageIO.c:<LINENO>)331 <DATE><TIME>|<HOST>|E|psImageReadSection (FILE:LINENO) 332 332 Could not open file,'foobar.fits'. 333 333 CFITSIO Error: could not open the named file … … 336 336 <DATE><TIME>|<HOST>|W|psImageReadSection 337 337 psImageReadSection is deprecated. Consider using psFitsReadImage instead. 338 <DATE><TIME>|<HOST>|E|psImageReadSection ( psImageIO.c:<LINENO>)338 <DATE><TIME>|<HOST>|E|psImageReadSection (FILE:LINENO) 339 339 Specified filename can not be NULL. 340 340 <DATE><TIME>|<HOST>|I|testImageRead … … 342 342 <DATE><TIME>|<HOST>|W|psImageReadSection 343 343 psImageReadSection is deprecated. Consider using psFitsReadImage instead. 344 <DATE><TIME>|<HOST>|E|psImageReadSection ( psImageIO.c:<LINENO>)344 <DATE><TIME>|<HOST>|E|psImageReadSection (FILE:LINENO) 345 345 Could not find HDU #4 in file tmpImages/MxN_F32.fits. 346 346 CFITSIO Error: tried to move past end of file … … 349 349 <DATE><TIME>|<HOST>|W|psImageReadSection 350 350 psImageReadSection is deprecated. Consider using psFitsReadImage instead. 351 <DATE><TIME>|<HOST>|E|psImageReadSection ( psImageIO.c:<LINENO>)351 <DATE><TIME>|<HOST>|E|psImageReadSection (FILE:LINENO) 352 352 Could not find HDU with extension name 'bogus' in file tmpImages/MxN_F32.fits. 353 353 CFITSIO Error: illegal HDU number … … 371 371 <DATE><TIME>|<HOST>|W|psImageWriteSection 372 372 psImageWriteSection is deprecated. Consider using psFitsWriteImage instead. 373 <DATE><TIME>|<HOST>|E|psImageWriteSection ( psImageIO.c:<LINENO>)373 <DATE><TIME>|<HOST>|E|psImageWriteSection (FILE:LINENO) 374 374 Can not operate on a NULL psImage. 375 375 <DATE><TIME>|<HOST>|I|testImageWrite … … 377 377 <DATE><TIME>|<HOST>|W|psImageWriteSection 378 378 psImageWriteSection is deprecated. Consider using psFitsWriteImage instead. 379 <DATE><TIME>|<HOST>|E|psImageWriteSection ( psImageIO.c:<LINENO>)379 <DATE><TIME>|<HOST>|E|psImageWriteSection (FILE:LINENO) 380 380 Could not create file,'panstarrs/writeFits.fits'. 381 381 CFITSIO Error: couldn't create the named file … … 384 384 <DATE><TIME>|<HOST>|W|psImageWriteSection 385 385 psImageWriteSection is deprecated. Consider using psFitsWriteImage instead. 386 <DATE><TIME>|<HOST>|E|psImageWriteSection ( psImageIO.c:<LINENO>)386 <DATE><TIME>|<HOST>|E|psImageWriteSection (FILE:LINENO) 387 387 Could not open file,'tmpImages/writeInvalidFile.fits'. 388 388 CFITSIO Error: tried to move past end of file … … 391 391 <DATE><TIME>|<HOST>|W|psImageWriteSection 392 392 psImageWriteSection is deprecated. Consider using psFitsWriteImage instead. 393 <DATE><TIME>|<HOST>|E|psImageWriteSection ( psImageIO.c:<LINENO>)393 <DATE><TIME>|<HOST>|E|psImageWriteSection (FILE:LINENO) 394 394 Could not find HDU with extension name 'ext2' in file tmpImages/writeTest.fits. 395 395 CFITSIO Error: illegal HDU number … … 398 398 <DATE><TIME>|<HOST>|W|psImageWriteSection 399 399 psImageWriteSection is deprecated. Consider using psFitsWriteImage instead. 400 <DATE><TIME>|<HOST>|E|psImageWriteSection ( psImageIO.c:<LINENO>)400 <DATE><TIME>|<HOST>|E|psImageWriteSection (FILE:LINENO) 401 401 Specified extension number, 99, must not exceed number of HDUs, 1, by more than one. 402 402 -
trunk/psLib/test/image/verified/tst_psImageInterpolate.stderr
r2758 r3127 16 16 <DATE><TIME>|<HOST>|I|testInterpolateError 17 17 Following should generate an error message 18 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate ( psImage.c:<LINENO>)18 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate (FILE:LINENO) 19 19 Can not operate on a NULL psImage. 20 20 <DATE><TIME>|<HOST>|I|testInterpolateError 21 21 Following should generate an error message 22 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate ( psImage.c:<LINENO>)22 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate (FILE:LINENO) 23 23 Specified psImage type, psPtr, is not supported. 24 24 <DATE><TIME>|<HOST>|I|testInterpolateError 25 25 Following should generate an error message 26 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate ( psImage.c:<LINENO>)26 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate (FILE:LINENO) 27 27 Specified psImage type, psPtr, is not supported. 28 28 -
trunk/psLib/test/image/verified/tst_psImageManip.stderr
r3028 r3127 27 27 <DATE><TIME>|<HOST>|I|testImageClip 28 28 Following should be an error (max<min) 29 <DATE><TIME>|<HOST>|E|psImageClip ( psImageManip.c:<LINENO>)29 <DATE><TIME>|<HOST>|E|psImageClip (FILE:LINENO) 30 30 Specified min value, 256, can not be greater than the specified max value, 128. 31 31 … … 42 42 <DATE><TIME>|<HOST>|I|testImageClipNAN 43 43 Following should be an error (invalid type) 44 <DATE><TIME>|<HOST>|E|psImageClipNaN ( psImageManip.c:<LINENO>)44 <DATE><TIME>|<HOST>|E|psImageClipNaN (FILE:LINENO) 45 45 Specified psImage type, psS32, is not supported. 46 46 … … 61 61 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 62 62 Following should be an error: 63 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)64 Can not operate on a NULL psImage. 65 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 66 Following should be an error: 67 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)63 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 64 Can not operate on a NULL psImage. 65 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 66 Following should be an error: 67 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 68 68 Specified real-portion of min value, 10, can not be greater than the real-portion of max value, 5. 69 69 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 70 70 Following should be an error: 71 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)71 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 72 72 Specified imaginary-portion of min value, 10, can not be greater than the imaginary-portion of max value, 5. 73 73 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 74 74 Following should be an error: 75 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)75 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 76 76 Specified real-portion of min value, 10, can not be greater than the real-portion of max value, 5. 77 77 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 78 78 Following should be an error: 79 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)80 Specified vmin value, -6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].81 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 82 Following should be an error: 83 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)84 Specified vmin value, 6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].85 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 86 Following should be an error: 87 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)88 Specified vmin value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].89 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 90 Following should be an error: 91 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)92 Specified vmin value, 0+6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].93 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 94 Following should be an error: 95 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)96 Specified vmax value, -6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].97 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 98 Following should be an error: 99 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)100 Specified vmax value, 6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].101 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 102 Following should be an error: 103 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)104 Specified vmax value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].105 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 106 Following should be an error: 107 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)108 Specified vmax value, 0+6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38: <LINENO>.40282e+38].79 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 80 Specified vmin value, -6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 81 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 82 Following should be an error: 83 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 84 Specified vmin value, 6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 85 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 86 Following should be an error: 87 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 88 Specified vmin value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 89 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 90 Following should be an error: 91 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 92 Specified vmin value, 0+6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 93 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 94 Following should be an error: 95 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 96 Specified vmax value, -6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 97 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 98 Following should be an error: 99 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 100 Specified vmax value, 6.80565e+38+0i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 101 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 102 Following should be an error: 103 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 104 Specified vmax value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 105 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 106 Following should be an error: 107 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 108 Specified vmax value, 0+6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38]. 109 109 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion 110 110 Following should be an error (invalid type) 111 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion ( psImageManip.c:<LINENO>)111 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO) 112 112 Specified psImage type, psS32, is not supported. 113 113 … … 122 122 <DATE><TIME>|<HOST>|I|testImageOverlay 123 123 Following should error as overlay isn't within image boundaries 124 <DATE><TIME>|<HOST>|E|psImageOverlaySection ( psImageManip.c:<LINENO>)125 Specified subset range, [32: <LINENO>,64:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].124 <DATE><TIME>|<HOST>|E|psImageOverlaySection (FILE:LINENO) 125 Specified subset range, [32:160,64:320], is invalid or outside input psImage's boundaries, [0:128,0:256]. 126 126 <DATE><TIME>|<HOST>|I|testImageOverlay 127 127 Following should error as overlay is NULL 128 <DATE><TIME>|<HOST>|E|psImageOverlaySection ( psImageManip.c:<LINENO>)128 <DATE><TIME>|<HOST>|E|psImageOverlaySection (FILE:LINENO) 129 129 Can not operate on a NULL psImage. 130 130 <DATE><TIME>|<HOST>|I|testImageOverlay 131 131 Following should error as image input is NULL 132 <DATE><TIME>|<HOST>|E|psImageOverlaySection ( psImageManip.c:<LINENO>)132 <DATE><TIME>|<HOST>|E|psImageOverlaySection (FILE:LINENO) 133 133 Can not operate on a NULL psImage. 134 134 <DATE><TIME>|<HOST>|I|testImageOverlay 135 135 Following should error as operator is invalid 136 <DATE><TIME>|<HOST>|E|psImageOverlaySection ( psImageManip.c:<LINENO>)136 <DATE><TIME>|<HOST>|E|psImageOverlaySection (FILE:LINENO) 137 137 Specified operation, '$', is not supported. 138 138 <DATE><TIME>|<HOST>|I|testImageOverlay 139 139 Following should error as operator is invalid 140 <DATE><TIME>|<HOST>|E|psImageOverlaySection ( psImageManip.c:<LINENO>)140 <DATE><TIME>|<HOST>|E|psImageOverlaySection (FILE:LINENO) 141 141 Operation can not be NULL. 142 142 <DATE><TIME>|<HOST>|I|testImageOverlay 143 143 Following should error as overlay is a different type 144 <DATE><TIME>|<HOST>|E|psImageOverlaySection ( psImageManip.c:<LINENO>)144 <DATE><TIME>|<HOST>|E|psImageOverlaySection (FILE:LINENO) 145 145 Input overlay psImage type, psS64, must match input psImage type, psF32. 146 146 … … 155 155 <DATE><TIME>|<HOST>|I|testImageRebin 156 156 Following should be an error for unsupported type. 157 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)157 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 158 158 Specified psImage type, psU8, is not supported. 159 159 <DATE><TIME>|<HOST>|I|testImageRebin 160 160 Following should be an error for invallid mask type. 161 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)161 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 162 162 Input psImage mask type, psF32, is not the supported mask datatype of psU8. 163 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)163 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 164 164 Can not operate on a NULL psImage. 165 165 <DATE><TIME>|<HOST>|I|testImageRebin 166 166 Following should be an error for scale < 0. 167 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)167 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 168 168 Specified scale value, 0, must be a positive value. 169 169 <DATE><TIME>|<HOST>|I|testImageRebin 170 170 Following should be an error for stats null. 171 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)171 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 172 172 Specified statistic can not be NULL. 173 173 <DATE><TIME>|<HOST>|I|testImageRebin 174 174 Following should be an error for stats options 0. 175 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)175 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 176 176 Specified statistic option, 0, is not valid. Must specify one and only one statistic type. 177 177 <DATE><TIME>|<HOST>|I|testImageRebin 178 178 Following should be an error for stat options use range. 179 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)179 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 180 180 Specified statistic option, 8192, is not valid. Must specify one and only one statistic type. 181 181 <DATE><TIME>|<HOST>|I|testImageRebin 182 182 Following should be an error for stats with multiple options. 183 <DATE><TIME>|<HOST>|E|psImageRebin ( psImageManip.c:<LINENO>)183 <DATE><TIME>|<HOST>|E|psImageRebin (FILE:LINENO) 184 184 Specified statistic option, 2049, is not valid. Must specify one and only one statistic type. 185 185 … … 194 194 <DATE><TIME>|<HOST>|I|testImageRoll 195 195 Following should generate an error. 196 <DATE><TIME>|<HOST>|E|psImageRoll ( psImageManip.c:<LINENO>)196 <DATE><TIME>|<HOST>|E|psImageRoll (FILE:LINENO) 197 197 Can not operate on a NULL psImage. 198 198 … … 351 351 <DATE><TIME>|<HOST>|I|testImageRotate 352 352 Following should be an error 353 <DATE><TIME>|<HOST>|E|psImageRotate ( psImageManip.c:<LINENO>)353 <DATE><TIME>|<HOST>|E|psImageRotate (FILE:LINENO) 354 354 Can not operate on a NULL psImage. 355 355 <DATE><TIME>|<HOST>|I|testImageRotate 356 356 Following should be an error for invalid interpolation type. 357 <DATE><TIME>|<HOST>|E|psImageRotate ( psImageManip.c:<LINENO>)357 <DATE><TIME>|<HOST>|E|psImageRotate (FILE:LINENO) 358 358 Specified interpolation mode, -1, is unsupported. 359 359 … … 402 402 <DATE><TIME>|<HOST>|I|testImageShift 403 403 Following should be an error... 404 <DATE><TIME>|<HOST>|E|psImageShift ( psImageManip.c:<LINENO>)404 <DATE><TIME>|<HOST>|E|psImageShift (FILE:LINENO) 405 405 Can not operate on a NULL psImage. 406 406 <DATE><TIME>|<HOST>|I|testImageShift 407 407 Following should be an error for invalid interpolation mode. 408 <DATE><TIME>|<HOST>|E|psImageShift ( psImageManip.c:<LINENO>)408 <DATE><TIME>|<HOST>|E|psImageShift (FILE:LINENO) 409 409 Specified interpolation mode, -1, is unsupported. 410 410 … … 417 417 \**********************************************************************************/ 418 418 419 <DATE><TIME>|<HOST>|E|psImageResample ( psImageManip.c:<LINENO>)420 Can not operate on a NULL psImage. 421 <DATE><TIME>|<HOST>|E|psImageResample ( psImageManip.c:<LINENO>)419 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO) 420 Can not operate on a NULL psImage. 421 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO) 422 422 Specified scale value, 0, must be a positive value. 423 <DATE><TIME>|<HOST>|E|psImageResample ( psImageManip.c:<LINENO>)423 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO) 424 424 Specified interpolation mode, 0, is unsupported. 425 <DATE><TIME>|<HOST>|E|psImageResample ( psImageManip.c:<LINENO>)425 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO) 426 426 Specified psImage type, psPtr, is not supported. 427 427 -
trunk/psLib/test/image/verified/tst_psImageStats00.stderr
r2733 r3127 1 <DATE><TIME>|<HOST>|E|psImageHistogram ( psImageStats.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psImageHistogram (FILE:LINENO) 2 2 Unallowable operation: out is NULL. 3 <DATE><TIME>|<HOST>|E|psImageHistogram ( psImageStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psImageHistogram (FILE:LINENO) 4 4 Unallowable operation: in is NULL. 5 <DATE><TIME>|<HOST>|E|psImageHistogram ( psImageStats.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psImageHistogram (FILE:LINENO) 6 6 Unallowable operation: out is NULL. 7 7 <DATE><TIME>|<HOST>|I|main 8 8 Following should be an error for invalid mask type. 9 <DATE><TIME>|<HOST>|E|psImageHistogram ( psImageStats.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psImageHistogram (FILE:LINENO) 10 10 Unallowable operation: psImage mask has incorrect type. -
trunk/psLib/test/image/verified/tst_psImageStats01.stderr
r2734 r3127 1 <DATE><TIME>|<HOST>|E|psImageStats ( psImageStats.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psImageStats (FILE:LINENO) 2 2 Error: stats->options is 0. 3 <DATE><TIME>|<HOST>|E|psImageStats ( psImageStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psImageStats (FILE:LINENO) 4 4 Unallowable operation: stats is NULL. 5 <DATE><TIME>|<HOST>|E|psImageStats ( psImageStats.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psImageStats (FILE:LINENO) 6 6 Error: stats->options is 0. 7 <DATE><TIME>|<HOST>|E|psImageStats ( psImageStats.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psImageStats (FILE:LINENO) 8 8 Unallowable operation: psImage mask has incorrect type. -
trunk/psLib/test/image/verified/tst_psImageStats02.stderr
r2279 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should be an error message for NULL coeffs argument. 3 <DATE><TIME>|<HOST>|E|psImageFitPolynomial ( psImageStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psImageFitPolynomial (FILE:LINENO) 4 4 Unallowable operation: polynomial coeffs or its coeffs is NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should be a error message for NULL input argument. 7 <DATE><TIME>|<HOST>|E|psImageFitPolynomial ( psImageStats.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psImageFitPolynomial (FILE:LINENO) 8 8 Unallowable operation: psImage input or its data is NULL. 9 9 <DATE><TIME>|<HOST>|I|main 10 10 Following should be an error message for NULL coeffs argument. 11 <DATE><TIME>|<HOST>|E|psImageEvalPolynomial ( psImageStats.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psImageEvalPolynomial (FILE:LINENO) 12 12 Unallowable operation: polynomial coeffs or its coeffs is NULL. 13 13 <DATE><TIME>|<HOST>|I|main 14 14 Following should be a error message for NULL input argument. 15 <DATE><TIME>|<HOST>|E|psImageEvalPolynomial ( psImageStats.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psImageEvalPolynomial (FILE:LINENO) 16 16 Unallowable operation: psImage input or its data is NULL. -
trunk/psLib/test/runTest
r3115 r3127 28 28 # 29 29 # $Revison: $ $Name: not supported by cvs2svn $ 30 # $Date: 2005-02-0 3 00:54:12$30 # $Date: 2005-02-04 22:49:37 $ 31 31 # 32 32 # Copyright 2004 Maui High Performance Computering Center, University of Hawaii … … 36 36 # Provides functions for handling psS64 command line options 37 37 use Getopt::Long; 38 39 $verifiedDir = "verified"; 38 40 39 41 # Assign variables based on the presence of command line options to the script … … 42 44 "resetStderr!" => \$resetStderr, 43 45 "resetStdout!" => \$resetStdout, 46 "verified=s" => \$verifiedDir, 44 47 "help!" => \$help 45 48 ); … … 83 86 84 87 # Check if a verified directory exists in the current work directory 85 if ( !( -e "verified") ) {88 if ( !( -e $verifiedDir ) ) { 86 89 87 90 # Display message that verified subdirectory doesn't exist … … 133 136 # Open mod file to place filtered STDOUT 134 137 open( MODFILE, "> temp/$testFile.stdout.mod" ); 135 open( MODFILE2, "> verified/$testFile.stdout" ) if $resetStdout;138 open( MODFILE2, "> $verifiedDir/$testFile.stdout" ) if $resetStdout; 136 139 137 140 # Replace the variable date, time and host information with constants … … 143 146 s/$hostname\s*/<HOST>/g; 144 147 s/: Line \d+/: Line <LINENO>/g; 145 s/\ :\d+/\:<LINENO>/g;148 s/\(.*\:\d+\)/\(FILE\:LINENO\)/g; 146 149 s/allocate \d+ bytes at/allocate <N> bytes at/g; 147 150 … … 166 169 # Open mod file to place filtered STDERR 167 170 open( MODFILE, "> temp/$testFile.stderr.mod" ); 168 open( MODFILE2, "> verified/$testFile.stderr" ) if $resetStderr;171 open( MODFILE2, "> $verifiedDir/$testFile.stderr" ) if $resetStderr; 169 172 170 173 # Replace the variable date, time and host information with constants … … 174 177 s/$hostname\s*/<HOST>/g; 175 178 s/: Line \d+/: Line <LINENO>/g; 176 s/\ :\d+/\:<LINENO>/g;179 s/\(.*\:\d+\)/\(FILE\:LINENO\)/g; 177 180 s/allocate \d+ bytes at/allocate <N> bytes at/g; 178 181 … … 193 196 194 197 # Compare STDOUT capture with verified file 195 $exitValue |= &compareStream(" verified/$testFile.stdout");198 $exitValue |= &compareStream("$verifiedDir/$testFile.stdout"); 196 199 197 200 # Check exit value to determine if verified file doesn't exist … … 204 207 205 208 # Compare STDERR capture with verified file 206 $exitValue |= &compareStream(" verified/$testFile.stderr");209 $exitValue |= &compareStream("$verifiedDir/$testFile.stderr"); 207 210 208 211 # Check exit value to determine if verified file doesn't exist … … 330 333 # Create name of the temp file to compare 331 334 $tempFile = $streamFile; 332 $tempFile =~ s/ verified/temp/;335 $tempFile =~ s/$verifiedDir/temp/; 333 336 $tempFile = $tempFile . ".mod"; 334 337 -
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.
