Skip to content
Snippets Groups Projects
Commit edb55b9d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

add Compc.py.test.in

parent 013dabf9
No related branches found
No related tags found
1 merge request!119M214003/develop
...@@ -211,6 +211,7 @@ AC_CONFIG_FILES([test/pytest/cdoTest.py ...@@ -211,6 +211,7 @@ AC_CONFIG_FILES([test/pytest/cdoTest.py
test/pytest/Collgrid.py.test test/pytest/Collgrid.py.test
test/pytest/Comp.py.test test/pytest/Comp.py.test
test/pytest/Compc.py.test test/pytest/Compc.py.test
test/pytest/Condc.py.test
test/pytest/Copy_netcdf.py.test test/pytest/Copy_netcdf.py.test
test/pytest/Dayarith.py.test test/pytest/Dayarith.py.test
test/pytest/Detrend.py.test test/pytest/Detrend.py.test
......
...@@ -9,11 +9,11 @@ CONST=300 ...@@ -9,11 +9,11 @@ CONST=300
IFILE=f'{DATAPATH}/comptest.srv' IFILE=f'{DATAPATH}/comptest.srv'
test_module = TestModule() test_module = TestModule()
for OPER in OPERATORS: for OPERATOR in OPERATORS:
RFILE=f'{DATAPATH}/comp_{OPER}_ref' RFILE=f'{DATAPATH}/comp_{OPERATOR}_ref'
OFILE=f'comp_{OPER}_res' OFILE=f'comp_{OPERATOR}_res'
t=TAPTest(OPER) t=TAPTest(OPERATOR)
t.add(f'{CDO} {FORMAT} {OPER},{CONST} {IFILE} {OFILE}') t.add(f'{CDO} {FORMAT} {OPERATOR},{CONST} {IFILE} {OFILE}')
t.add(f'{CDO} diff {OFILE} {RFILE}') t.add(f'{CDO} diff {OFILE} {RFILE}')
t.clean(OFILE) t.clean(OFILE)
test_module.add(t) test_module.add(t)
......
...@@ -21,6 +21,7 @@ TESTS =\ ...@@ -21,6 +21,7 @@ TESTS =\
Collgrid.py.test\ Collgrid.py.test\
Comp.py.test\ Comp.py.test\
Compc.py.test\ Compc.py.test\
Condc.py.test\
Copy_netcdf.py.test\ Copy_netcdf.py.test\
Dayarith.py.test\ Dayarith.py.test\
Detrend.py.test\ Detrend.py.test\
......
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