Skip to content
Snippets Groups Projects
Commit 8afa5ff9 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

added return value tests for success and error and help

parent 26b5953a
No related branches found
No related tags found
No related merge requests found
Pipeline #25828 passed
......@@ -7,6 +7,12 @@ test_module = TestModule()
t=TAPTest("Checking Version Return Value")
t.add(f'{CDO} --version', 0)
t.add(f'{CDO} --operators',0)
t.add(f'{CDO} --h', 0)
t.add(f'{CDO} --help',0)
#causing some parser error
t.add(f'{CDO} -add FILE_THAT_DOES_NOT_EXIST',-1)
#sucessfull run
t.add(f'{CDO} -info -topo',0)
test_module.add(t)
test_module.run()
......
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