Index: /trunk/psLib/Makefile.am
===================================================================
--- /trunk/psLib/Makefile.am	(revision 3637)
+++ /trunk/psLib/Makefile.am	(revision 3638)
@@ -30,2 +30,4 @@
 
 CLEANFILES = $(prefix)/docs/pslib/*
+
+test: check
Index: /trunk/psLib/pslib.kdevses
===================================================================
--- /trunk/psLib/pslib.kdevses	(revision 3637)
+++ /trunk/psLib/pslib.kdevses	(revision 3638)
@@ -2,20 +2,32 @@
 <!DOCTYPE KDevPrjSession>
 <KDevPrjSession>
- <DocsAndViews NumberOfDocuments="5" >
+ <DocsAndViews NumberOfDocuments="9" >
   <Doc0 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/fileUtils/psFits.h" >
    <View0 line="220" Type="Source" />
   </Doc0>
-  <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/fileUtils/psFits.c" >
-   <View0 line="1654" Type="Source" />
+  <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/collections/Makefile.am" >
+   <View0 line="60" Type="Source" />
   </Doc1>
-  <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/fileUtils/tst_psFits.c" >
-   <View0 line="1177" Type="Source" />
+  <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/dataManip/Makefile.am" >
+   <View0 line="116" Type="Source" />
   </Doc2>
-  <Doc3 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/include/psMetadata.h" >
-   <View0 line="299" Type="Source" />
+  <Doc3 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/astronomy/Makefile.am" >
+   <View0 line="108" Type="Source" />
   </Doc3>
-  <Doc4 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/configure.ac" >
-   <View0 line="67" Type="Source" />
+  <Doc4 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/fileUtils/Makefile.am" >
+   <View0 line="38" Type="Source" />
   </Doc4>
+  <Doc5 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/Makefile.am" >
+   <View0 line="32" Type="Source" />
+  </Doc5>
+  <Doc6 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/Makefile.am" >
+   <View0 line="8" Type="Source" />
+  </Doc6>
+  <Doc7 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/image/Makefile.am" >
+   <View0 line="62" Type="Source" />
+  </Doc7>
+  <Doc8 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/sysUtils/Makefile.am" >
+   <View0 line="44" Type="Source" />
+  </Doc8>
  </DocsAndViews>
  <pluginList>
Index: /trunk/psLib/test/Makefile.am
===================================================================
--- /trunk/psLib/test/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/Makefile.am	(revision 3638)
@@ -7,4 +7,3 @@
 EXTRA_DIST = runTest FullUnitTest
 
-tests:
-
+test: check
Index: /trunk/psLib/test/astronomy/Makefile.am
===================================================================
--- /trunk/psLib/test/astronomy/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/astronomy/Makefile.am	(revision 3638)
@@ -78,5 +78,5 @@
 	verified 
 
-CLEANFILES = $(TESTS) $(check_DATA)
+CLEANFILES = $(TESTS) $(check_DATA) temp/*
 
 psTime.config: $(top_srcdir)/etc/pslib/psTime.config.template
@@ -107,3 +107,5 @@
 	cp $? $@
 
+test: check
 
+
Index: /trunk/psLib/test/astronomy/tst_psAstrometry01.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psAstrometry01.c	(revision 3637)
+++ /trunk/psLib/test/astronomy/tst_psAstrometry01.c	(revision 3638)
@@ -5,6 +5,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-03-30 23:22:39 $
+*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-01 22:22:17 $
 *
 * XXX: Must test
@@ -258,5 +258,5 @@
         for (j=0;j<X_NUM_COLS;j++) {
             if ((tmp->x)[i][j] != x->data.F64[i][j]) {
-                printf("ERROR: (tmp->x)[%d][%d] is %f, should be %f\n", i, j,
+                printf("ERROR: (tmp->x)[%d][%d] is %.2f, should be %.2f\n", i, j,
                        (tmp->x)[i][j], x->data.F64[i][j]);
                 testStatus = 1;
@@ -274,5 +274,5 @@
         for (j=0;j<Y_NUM_COLS;j++) {
             if ((tmp->y)[i][j] != y->data.F64[i][j]) {
-                printf("ERROR: (tmp->y)[%d][%d] is %f, should be %f\n", i, j,
+                printf("ERROR: (tmp->y)[%d][%d] is %.2f, should be %.2f\n", i, j,
                        (tmp->y)[i][j], y->data.F64[i][j]);
 
@@ -292,9 +292,9 @@
     }
     if (tmp->x0 != X0) {
-        printf("ERROR: tmp->x0 is %f, should be %f\n", tmp->x0, X0);
+        printf("ERROR: tmp->x0 is %.2f, should be %.2f\n", tmp->x0, X0);
         testStatus = 1;
     }
     if (tmp->xScale != X_SCALE) {
-        printf("ERROR: tmp->xScale is %f, should be %f\n", tmp->xScale, X_SCALE);
+        printf("ERROR: tmp->xScale is %.2f, should be %.2f\n", tmp->xScale, X_SCALE);
         testStatus = 1;
     }
@@ -306,9 +306,9 @@
     }
     if (tmp->y0 != Y0) {
-        printf("ERROR: tmp->y0 is %f, should be %f\n", tmp->y0, Y0);
+        printf("ERROR: tmp->y0 is %.2f, should be %.2f\n", tmp->y0, Y0);
         testStatus = 1;
     }
     if (tmp->yScale != Y_SCALE) {
-        printf("ERROR: tmp->yScale is %f, should be %f\n", tmp->yScale, Y_SCALE);
+        printf("ERROR: tmp->yScale is %.2f, should be %.2f\n", tmp->yScale, Y_SCALE);
         testStatus = 1;
     }
@@ -336,29 +336,29 @@
 
     if (grom->height != HEIGHT) {
-        printf("ERROR: grom->height is %f, should be %f\n", grom->height, HEIGHT);
+        printf("ERROR: grom->height is %.2f, should be %.2f\n", grom->height, HEIGHT);
         testStatus = 1;
     }
     if (grom->temperature != TEMPERATURE) {
-        printf("ERROR: grom->temperature is %f, should be %f\n", grom->temperature, TEMPERATURE);
+        printf("ERROR: grom->temperature is %.2f, should be %.2f\n", grom->temperature, TEMPERATURE);
         testStatus = 2;
     }
 
     if (grom->pressure != PRESSURE) {
-        printf("ERROR: grom->pressure is %f, should be %f\n", grom->pressure, PRESSURE);
+        printf("ERROR: grom->pressure is %.2f, should be %.2f\n", grom->pressure, PRESSURE);
         testStatus = 3;
     }
 
     if (grom->humidity != HUMIDITY) {
-        printf("ERROR: grom->humidity is %f, should be %f\n", grom->humidity, HUMIDITY);
+        printf("ERROR: grom->humidity is %.2f, should be %.2f\n", grom->humidity, HUMIDITY);
         testStatus = 4;
     }
 
     if (grom->wavelength != WAVELENGTH) {
-        printf("ERROR: grom->wavelength is %f, should be %f\n", grom->wavelength, WAVELENGTH);
+        printf("ERROR: grom->wavelength is %.2f, should be %.2f\n", grom->wavelength, WAVELENGTH);
         testStatus = 5;
     }
 
     if (grom->lapseRate != LAPSERATE) {
-        printf("ERROR: grom->lapseRate is %f, should be %f\n", grom->lapseRate, LAPSERATE);
+        printf("ERROR: grom->lapseRate is %.2f, should be %.2f\n", grom->lapseRate, LAPSERATE);
         testStatus = 6;
     }
@@ -369,23 +369,23 @@
 
        if (grom-> != ) {
-            printf("ERROR: grom-> is %f, should be %f\n", grom->, );
+            printf("ERROR: grom-> is %.2f, should be %.2f\n", grom->, );
             testStatus = 1;
        }
     */
 
-    printf("grom->latitude is %f\n", grom->latitude);
-    printf("grom->sinLat is %f\n", grom->sinLat);
-    printf("grom->cosLat is %f\n", grom->cosLat);
-    printf("grom->abberationMag is %f\n", grom->abberationMag);
-    printf("grom->height is %f\n", grom->height);
-    printf("grom->temperature is %f\n", grom->temperature);
-    printf("grom->pressure is %f\n", grom->pressure);
-    printf("grom->humidity is %f\n", grom->humidity);
-    printf("grom->wavelength is %f\n", grom->wavelength);
-    printf("grom->lapseRate is %f\n", grom->lapseRate);
-    printf("grom->refractA is %f\n", grom->refractA);
-    printf("grom->refractB is %f\n", grom->refractB);
-    printf("grom->longitudeOffset is %f\n", grom->longitudeOffset);
-    // printf("grom->siderealTime is %f\n", grom->siderealTime);
+    printf("grom->latitude is %.2f\n", grom->latitude);
+    printf("grom->sinLat is %.2f\n", grom->sinLat);
+    printf("grom->cosLat is %.2f\n", grom->cosLat);
+    printf("grom->abberationMag is %.2f\n", grom->abberationMag);
+    printf("grom->height is %.2f\n", grom->height);
+    printf("grom->temperature is %.2f\n", grom->temperature);
+    printf("grom->pressure is %.2f\n", grom->pressure);
+    printf("grom->humidity is %.2f\n", grom->humidity);
+    printf("grom->wavelength is %.2f\n", grom->wavelength);
+    printf("grom->lapseRate is %.2f\n", grom->lapseRate);
+    printf("grom->refractA is %.2f\n", grom->refractA);
+    printf("grom->refractB is %.2f\n", grom->refractB);
+    printf("grom->longitudeOffset is %.2f\n", grom->longitudeOffset);
+    // printf("grom->siderealTime is %.2f\n", grom->siderealTime);
 
     psFree(now);
@@ -461,5 +461,5 @@
                     fpaCoord.x = (double) xFPA;
                     fpaCoord.y = (double) y;
-                    //printf("------------------ (%f, %f) ------------------\n", fpaCoord.x, fpaCoord.y);
+                    //printf("------------------ (%.2f, %.2f) ------------------\n", fpaCoord.x, fpaCoord.y);
                     psChip* tmpChip = psChipInFPA(&fpaCoord, myFPA);
                     myCell = psCellInFPA(&fpaCoord, myFPA);
@@ -477,16 +477,16 @@
 
                         if (x != (psS32) cellCoord.x) {
-                            printf("ERROR: x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (y != (psS32) cellCoord.y) {
-                            printf("ERROR: y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordCellToChip(&testCoord, &cellCoord, myCell);
                         if (testCoord.x != chipCoord.x) {
-                            printf("ERROR: psCoordCellToChip() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordCellToChip() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != chipCoord.y) {
-                            printf("ERROR: psCoordCellToChip() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordCellToChip() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
@@ -501,32 +501,32 @@
                         psCoordChipToFPA(&testCoord, &chipCoord, tmpChip);
                         if (testCoord.x != xFPA) {
-                            printf("ERROR: psCoordChipToFPA() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordChipToFPA() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != y) {
-                            printf("ERROR: psCoordChipToFPA() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordChipToFPA() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordFPAToTP(&testCoord, &fpaCoord, 0.0, 0.0, myFPA);
                         if (testCoord.x != fpaCoord.x) {
-                            printf("ERROR: psCoordFPAToTP() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordFPAToTP() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != fpaCoord.y) {
-                            printf("ERROR: psCoordFPAToTP() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordFPAToTP() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordCellToFPA(&testCoord, &cellCoord, myCell);
                         if (testCoord.x != fpaCoord.x) {
-                            printf("ERROR: psCoordFPAToTP() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordFPAToTP() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != fpaCoord.y) {
-                            printf("ERROR: psCoordFPAToTP() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordFPAToTP() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
 
                         psCoordTPToFPA(&testCoord, &fpaCoord, 0.0, 0.0, myFPA);
                         if (testCoord.x != fpaCoord.x) {
-                            printf("ERROR: psCoordFPAToTP() x coord was %f, should be %d\n", cellCoord.x, x);
+                            printf("ERROR: psCoordFPAToTP() x coord was %.2f, should be %d\n", cellCoord.x, x);
                         }
                         if (testCoord.y != fpaCoord.y) {
-                            printf("ERROR: psCoordFPAToTP() y coord was %f, should be %d\n", cellCoord.y, y);
+                            printf("ERROR: psCoordFPAToTP() y coord was %.2f, should be %d\n", cellCoord.y, y);
                         }
                     }
Index: /trunk/psLib/test/astronomy/verified/tst_psAstrometry01.stdout
===================================================================
--- /trunk/psLib/test/astronomy/verified/tst_psAstrometry01.stdout	(revision 3637)
+++ /trunk/psLib/test/astronomy/verified/tst_psAstrometry01.stdout	(revision 3638)
@@ -1,15 +1,15 @@
-grom->latitude is 1.291152
-grom->sinLat is 0.961154
-grom->cosLat is 0.276013
-grom->abberationMag is 0.000000
-grom->height is 3055.000000
-grom->temperature is 7.000000
-grom->pressure is 8.000000
-grom->humidity is 20.000000
-grom->wavelength is 11.000000
-grom->lapseRate is 20.000000
-grom->refractA is 0.000018
-grom->refractB is -0.000000
-grom->longitudeOffset is 2.361888
+grom->latitude is 1.29
+grom->sinLat is 0.96
+grom->cosLat is 0.28
+grom->abberationMag is 0.00
+grom->height is 3055.00
+grom->temperature is 7.00
+grom->pressure is 8.00
+grom->humidity is 20.00
+grom->wavelength is 11.00
+grom->lapseRate is 20.00
+grom->refractA is 0.00
+grom->refractB is -0.00
+grom->longitudeOffset is 2.36
 trans1: x = x+y, y = x+y
 -------------------- trans->x coeffs --------------------
Index: /trunk/psLib/test/collections/Makefile.am
===================================================================
--- /trunk/psLib/test/collections/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/collections/Makefile.am	(revision 3638)
@@ -33,10 +33,12 @@
 
 check_PROGRAMS =$(TESTS)
- 
+
+check_DATA =
+
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
 
-CLEANFILES = $(TESTS) $(check_DATA)
+CLEANFILES = $(TESTS) $(check_DATA) temp/*
 
-tests: $(TESTS)
+tests: $(check_DATA) $(TESTS)
 
 tst_psVector_SOURCES = tst_psVector.c
@@ -56,2 +58,3 @@
 tst_psScalar_SOURCES = tst_psScalar.c
 
+test: check
Index: /trunk/psLib/test/dataIO/Makefile.am
===================================================================
--- /trunk/psLib/test/dataIO/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/dataIO/Makefile.am	(revision 3638)
@@ -25,7 +25,8 @@
 
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
-tests: $(TESTS)
 
-CLEANFILES = $(TESTS) $(check_DATA)
+tests: $(check_DATA) $(TESTS)
+
+CLEANFILES = $(TESTS) $(check_DATA) multi.fits table.fits temp/*
 
 tst_psLookupTable_01_SOURCES =  tst_psLookupTable_01.c
@@ -35,2 +36,3 @@
 	cp $? $@
 
+test: check
Index: /trunk/psLib/test/dataManip/Makefile.am
===================================================================
--- /trunk/psLib/test/dataManip/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/dataManip/Makefile.am	(revision 3638)
@@ -63,9 +63,11 @@
 check_PROGRAMS = $(TESTS)
 
-CLEANFILES = $(TESTS) $(check_DATA)
+check_DATA =
+
+CLEANFILES = $(TESTS) $(check_DATA) temp/*
 
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
 
-tests: $(TESTS)
+tests: $(TESTS) $(check_DATA)
 
 tst_psFunc00_SOURCES =  tst_psFunc00.c
@@ -113,3 +115,4 @@
 tst_psRandom_SOURCES =  tst_psRandom.c
 tst_psVectorFFT_SOURCES = tst_psVectorFFT.c
- 
+
+test: check
Index: /trunk/psLib/test/fileUtils/Makefile.am
===================================================================
--- /trunk/psLib/test/fileUtils/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/fileUtils/Makefile.am	(revision 3638)
@@ -25,7 +25,8 @@
 
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
-tests: $(TESTS)
 
-CLEANFILES = $(TESTS) $(check_DATA)
+tests: $(check_DATA) $(TESTS)
+
+CLEANFILES = $(TESTS) $(check_DATA) multi.fits table.fits temp/*
 
 tst_psLookupTable_01_SOURCES =  tst_psLookupTable_01.c
@@ -35,2 +36,3 @@
 	cp $? $@
 
+test: check
Index: /trunk/psLib/test/image/Makefile.am
===================================================================
--- /trunk/psLib/test/image/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/image/Makefile.am	(revision 3638)
@@ -32,10 +32,10 @@
 	sBiOut.fits \
 	sOut.fits
-               
+
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
 
-CLEANFILES = $(TESTS) $(check_DATA)
+CLEANFILES = $(TESTS) $(check_DATA) temp/*
 
-tests: $(TESTS)
+tests: $(check_DATA) $(TESTS)
 
 tst_psImage_SOURCES =  tst_psImage.c
@@ -59,3 +59,4 @@
 sOut.fits: verified/sOut.fits
 	cp $? $@
-                        
+
+test: check
Index: /trunk/psLib/test/sysUtils/Makefile.am
===================================================================
--- /trunk/psLib/test/sysUtils/Makefile.am	(revision 3637)
+++ /trunk/psLib/test/sysUtils/Makefile.am	(revision 3638)
@@ -26,9 +26,11 @@
 check_PROGRAMS =$(TESTS)
 
+check_DATA =
+
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
 
-CLEANFILES = $(TESTS) $(check_DATA)
+CLEANFILES = $(TESTS) $(check_DATA) temp/*
 
-tests: $(TESTS)
+tests: $(check_DATA) $(TESTS)
 
 tst_psAbort_SOURCES =  tst_psAbort.c
@@ -40,2 +42,3 @@
 tst_psConfigure_SOURCES =  tst_psConfigure.c
 
+test: check
