Makefile.am 1.88 KB
Newer Older
Ralf Mueller's avatar
Ralf Mueller committed
1
2
CLEANFILES =

3
4
export

Yvonne Kuestermann's avatar
comment    
Yvonne Kuestermann committed
5
6
7
# COLOR ALWAYS also if no color capable terminal detected
#     this is needed i.e. to run the tests via a oneline ssh cmd:
#     ssh host '... make check'
8
9
AM_COLOR_TESTS=always

Uwe Schulzweida's avatar
Uwe Schulzweida committed
10
11
12
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
                  $(top_srcdir)/config/tap-driver.sh

13

14
# tests which should pass
15
16
TESTS = threads.test tsformat.test wildcard.test File.test Comp.test Compc.test \
        Read_grib.test Read_netcdf.test Copy_netcdf.test Cat.test Gridarea.test  \
Uwe Schulzweida's avatar
Uwe Schulzweida committed
17
        MapReduce.test Ninfo.test Gradsdes.test  \
Uwe Schulzweida's avatar
Uwe Schulzweida committed
18
19
        Remapgrid.test Genweights.test Remap.test Remap2.test Remap3.test Remapeta.test \
        Detrend.test Select.test Spectral.test Ensstat.test Enspctl.test Gridboxstat.test \
Uwe Schulzweida's avatar
Uwe Schulzweida committed
20
        Vertstat.test Varsstat.test Fldstat.test Fldpctl.test Merstat.test Zonstat.test \
21
        Timstat.test Timstat2.test Yearmonstat.test Timselstat.test Seasstat.test Timpctl.test \
Uwe Schulzweida's avatar
Uwe Schulzweida committed
22
        Runstat.test Runpctl.test Multiyearstat.test Ydrunstat.test \
Uwe Schulzweida's avatar
Uwe Schulzweida committed
23
        Mergetime.test EOF.test Inttime.test \
24
        Vertint.test Afterburner.test Arithc.test Arith.test Monarith.test Ymonarith.test Expr.test \
25
        Collgrid.test Setmiss.test Smooth.test \
Uwe Schulzweida's avatar
Uwe Schulzweida committed
26
        Filter.test
Uwe Schulzweida's avatar
Uwe Schulzweida committed
27

28
29
30
# tests which should fail
XFAIL_TESTS = 

Uwe Schulzweida's avatar
Uwe Schulzweida committed
31
#        $(top_srcdir)/test/test_Remap.sh \
32
33
34
35
36
37
#        $(top_srcdir)/test/test_info.py
#        $(top_srcdir)/test/test_diff.py
#        $(top_srcdir)/test/test_Arith.py
#        $(top_srcdir)/test/test_Arithc.py
#        $(top_srcdir)/test/test_Selvar.py
#        $(top_srcdir)/test/test_intgridbil.py
38

Uwe Schulzweida's avatar
Uwe Schulzweida committed
39
#EXTRA_DIST = $(TESTS) $(top_srcdir)/test/testStreams.py
40

Uwe Schulzweida's avatar
Uwe Schulzweida committed
41
CDO        = $(top_builddir)/src/cdo
42

Uwe Schulzweida's avatar
Uwe Schulzweida committed
43
44
DATAPATH   = $(top_srcdir)/test/data

45
PYTHONPATH = $(top_srcdir)/contrib/python:$(top_srcdir)/test
46

Ralf Mueller's avatar
Ralf Mueller committed
47
48
49
checkPy:
	CDO=$(CDO) python $(top_srcdir)/test/test_cdo.py

50
#.PHONY: $(TESTS)
Ralf Mueller's avatar
Ralf Mueller committed
51

52
CLEANFILES += `ls *.pyc *.debug cerr* cout* ifile* ofile*`
Uwe Schulzweida's avatar
Uwe Schulzweida committed
53

Uwe Schulzweida's avatar
Uwe Schulzweida committed
54
#AUTOMAKE_OPTIONS = color-tests