IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3662


Ignore:
Timestamp:
Apr 5, 2005, 9:37:03 AM (21 years ago)
Author:
desonia
Message:

made testing of psDB optional, depending if feature is enabled.

Location:
trunk/psLib
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/Makefile.am

    r3638 r3662  
    1 SUBDIRS = $(SUBDIR) 
     1SUBDIRS = $(SUBDIR)
    22
    33bin_SCRIPTS = pslib-config
  • trunk/psLib/configure.ac

    r3599 r3662  
    7575  AC_MSG_RESULT([${MYSQL_LDFLAGS}])
    7676  PSLIB_LIBS="${PSLIB_LIBS=} ${MYSQL_LDFLAGS}"
    77 
     77  AC_SUBST(TST_PSDB,"tst_psDB") dnl enable the test for psDB
     78 
    7879  AC_RUN_IFELSE([AC_LANG_PROGRAM(
    7980[[#include <stdlib.h>
  • trunk/psLib/pslib.kdevses

    r3638 r3662  
    22<!DOCTYPE KDevPrjSession>
    33<KDevPrjSession>
    4  <DocsAndViews NumberOfDocuments="9" >
     4 <DocsAndViews NumberOfDocuments="4" >
    55  <Doc0 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/fileUtils/psFits.h" >
    6    <View0 line="220" Type="Source" />
     6   <View0 Type="Source" />
    77  </Doc0>
    8   <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/collections/Makefile.am" >
    9    <View0 line="60" Type="Source" />
     8  <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/fileUtils/psFits.c" >
     9   <View0 line="538" Type="Source" />
    1010  </Doc1>
    11   <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/dataManip/Makefile.am" >
    12    <View0 line="116" Type="Source" />
     11  <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/fileUtils/tst_psFits.c" >
     12   <View0 line="647" Type="Source" />
    1313  </Doc2>
    14   <Doc3 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/astronomy/Makefile.am" >
    15    <View0 line="108" Type="Source" />
     14  <Doc3 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/astronomy/psMetadata.h" >
     15   <View0 line="76" Type="Source" />
    1616  </Doc3>
    17   <Doc4 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/fileUtils/Makefile.am" >
    18    <View0 line="38" Type="Source" />
    19   </Doc4>
    20   <Doc5 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/Makefile.am" >
    21    <View0 line="32" Type="Source" />
    22   </Doc5>
    23   <Doc6 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/Makefile.am" >
    24    <View0 line="8" Type="Source" />
    25   </Doc6>
    26   <Doc7 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/image/Makefile.am" >
    27    <View0 line="62" Type="Source" />
    28   </Doc7>
    29   <Doc8 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/sysUtils/Makefile.am" >
    30    <View0 line="44" Type="Source" />
    31   </Doc8>
    3217 </DocsAndViews>
    3318 <pluginList>
  • trunk/psLib/test/Makefile.am

    r3638 r3662  
    88
    99test: check
     10
     11tests:
  • trunk/psLib/test/astronomy/Makefile.am

    r3638 r3662  
    1313AM_LDFLAGS = -L$(top_builddir)/src -lpslib $(PSLIB_LIBS)
    1414AM_CFLAGS = -DXML_CONFIG_FILE="\"$(top_srcdir)/etc/pslib/psTime.xml\""
    15  
    1615
    1716TESTS = tst_psTime_01 \
     
    1918         tst_psTime_03 \
    2019         tst_psTime_04 \
    21          tst_psDB \
    2220         tst_psMetadataIO  \
    2321         tst_psMetadata_01 \
     
    3028         tst_psCoord \
    3129         tst_psCoord01 \
     30         @TST_PSDB@ \
    3231         tst_psAstrometry \
    3332         tst_psAstrometry01
     
    4645
    4746TESTS_ENVIRONMENT = export PS_CONFIG_FILE="psTime.config" && perl $(top_srcdir)/test/runTest --verified=$(srcdir)/verified
    48  
     47
     48EXTRA_PROGRAMS = tst_psDB
    4949
    5050tests: $(check_DATA) $(TESTS)
Note: See TracChangeset for help on using the changeset viewer.