Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
cdo
Commits
f5aa2662
Commit
f5aa2662
authored
5 years ago
by
Ralf Mueller
Browse files
Options
Downloads
Patches
Plain Diff
add python-based testset
parent
e0effc9c
Branches
release-3.4.0_p2
Branches containing commit
Tags
v3.4.0_p2
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Rakefile
+6
-0
6 additions, 0 deletions
Rakefile
test/Makefile.am
+3
-0
3 additions, 0 deletions
test/Makefile.am
test/test_cdo.py
+550
-0
550 additions, 0 deletions
test/test_cdo.py
with
559 additions
and
0 deletions
Rakefile
+
6
−
0
View file @
f5aa2662
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
test/Makefile.am
+
3
−
0
View file @
f5aa2662
...
...
@@ -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.
Click to expand it.
test/test_cdo.py
0 → 100644
+
550
−
0
View file @
f5aa2662
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment