File: Splitsel.test.in

package info (click to toggle)
cdo 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,964 kB
  • sloc: cpp: 180,221; ansic: 95,352; sh: 7,292; f90: 6,089; makefile: 1,975; ruby: 1,078; csh: 1,020; python: 995; fortran: 319; pascal: 219; perl: 9
file content (19 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! @BASH@
echo 0..1

test -n "$CDO"      || CDO="@abs_top_builddir@/src/cdo $CDO_DEBUG"

FORMAT="-f grb -b 32"
STATS="splitsel"

NTEST=1
CDOTEST=""

for STAT in $STATS; do
    echo "Running test: $NTEST - splitsel $CDOTEST"
    $CDO $FORMAT ${STAT},1 -topo out.splitsel.test.file
    test $? -eq 0 && echo "ok $NTEST - $CDOTEST"
    test $? -eq 0 || echo "not ok $NTEST - $CDOTEST"

done
rm -rf *out.splitsel.test.file