Skip to content
Snippets Groups Projects
Commit f5aa2662 authored by Ralf Mueller's avatar Ralf Mueller :fishing_pole_and_fish:
Browse files

add python-based testset

parent e0effc9c
Branches release-3.4.0_p2
Tags v3.4.0_p2
No related merge requests found
......@@ -212,6 +212,12 @@ def builder2task(builder,useHostAsName=false,syncSource=true)
execute("make check CDO='#{builder.targetDir}/src/cdo -L'",builder)
end
@_help[:checkPy] = \
"run a set of python tests" unless @_help.has_key?(:checkPy)
task toDo[:checkPy] => (syncSource ? toDo[:sync] : nil) do |t|
execute("cd test && make checkPy",builder)
end
@_help[:clean] = \
"run 'make clean'" unless @_help.has_key?(:clean)
......
......@@ -44,6 +44,9 @@ DATAPATH = $(top_srcdir)/test/data
PYTHONPATH = $(top_srcdir)/contrib/python:$(top_srcdir)/test
checkPy:
CDO=$(CDO) python $(top_srcdir)/test/test_cdo.py
#.PHONY: $(TESTS)
CLEANFILES += `ls *.pyc *.debug cerr* cout* ifile* ofile*`
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment