Commit d33d36a9 authored by Brian Ermold's avatar Brian Ermold
Browse files

Add test.

parent cc09e745
suppress UMR ...;__mktime_internal
suppress UMR ...;regcomp
suppress IPR ...;ut_parse
suppress UMR ...;PQconnectStart
suppress UMR ...;getaddrinfo
suppress UMR ...;compress2
#-----------------------------------------------------------------------------
# Configuration file for dsproc_test.
#
# Please run `dsproc_test -h` to read the usage message.
#
#-----------------------------------------------------------------------------
# Configuration Settings
#-----------------------------------------------------------------------------
#
# DATA_ROOT specified in this configuration file (see below)
# DATA_HOME $(DATA_ROOT)/data
#
# DSPROCTEST_OUT_DIR $(DATA_ROOT)/out
# DSPROCTEST_REF_DIR $(DATA_ROOT)/ref
#
# DSPROCTEST_LOG_DIR .
# DSPROCTEST_LOG_FILE dsproc_test.log
#
# STAGE_DIR collecting
#
# DIFF_COMMAND diff
# GDB_COMMAND gdb
# DBX_COMMAND dbx
#
# NETCDF_BIN /usr/bin
#
#-----------------------------------------------------------------------------
# HOME Environment Variables
#-----------------------------------------------------------------------------
#
# DSDB_HOME
# INGEST_HOME
# VAP_HOME
#
#-----------------------------------------------------------------------------
# DATA Environment Variables
#-----------------------------------------------------------------------------
#
# COLLECTION_DATA $(DATA_HOME)/collection
# CONF_DATA $(DATA_HOME)/conf
# DATASTREAM_DATA $(DATA_HOME)/datastream
# LOGS_DATA $(DATA_HOME)/logs
# QUICKLOOK_DATA $(DATA_HOME)/www/process
# TMP_DATA $(DATA_HOME)/tmp
#
# DATASTREAM_DATA_IN $(DATASTREAM_DATA)
# DATASTREAM_DATA_OUT $(DATASTREAM_DATA)
#
#-----------------------------------------------------------------------------
DATA_ROOT /data/home/dev/vap/langley/DATA
#-----------------------------------------------------------------------------
PROCESS langley_mfrsr vap
COMMAND $(GDB) $(VAP_BIN)/langley -n langley_mfrsr -s $(SITE) -f $(FAC) -b $(BEGIN) -e $(END) $(DEBUG) $(DBALIAS)
RUN sgp C1 20010502 20010503
RUN sgp C1 20010610 20010611
RUN sgp C1 20010704 20010705
RUN nsa C1 20010704 20010705
RUN nsa C1 20010604 20010605
RUN nsa C1 20060706 20060707
RUN twp C1 20120101 20120102
RUN oli M1 20160722 20160723
#-----------------------------------------------------------------------------
PROCESS langley_nimfr vap
COMMAND $(GDB) $(VAP_BIN)/langley -n langley_nimfr -s $(SITE) -f $(FAC) -b $(BEGIN) -e $(END) $(DEBUG) $(DBALIAS)
RUN sgp C1 20010704 20010705
RUN nsa C1 20040604 20040605
RUN nsa C1 20040704 20040705
#!/bin/sh
# Check if the test is being run by APR
if [ "$APR_TOPDIR" ]; then
export VAP_BIN="$APR_TOPDIR/package/$APR_PREFIX/bin"
cd $APR_TOPDIR/test
fi
/apps/ds/bin/dsproc_test
if [ $? != 0 ]; then
echo "***** FAILED TEST *****"
exit 1
fi
echo "***** PASSED TEST *****"
exit
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment