DART icon indicating copy to clipboard operation
DART copied to clipboard

need better tests for parse_args_mod

Open nancycollins opened this issue 3 years ago • 1 comments

the developer_tests/utilities directory has a parse_args_test.f90 file, and the work directory has a parse_args_test.in input file. however, the test program never runs the second part of the test (testing name=value pairs) because control-d ends not only the first part of the test but the second part as well.

recommend there be a reserved keyword (e.g. quit) to end each section.

the test input file has only a few simple lines and does not test escape characters. it does test double quoted strings with embedded white space but not single quotes. it also has no tests for name=value pairs. it does not test very long lines or blank lines, or mismatched quotes (e.g. only an opening quote).

nancycollins avatar May 26 '21 18:05 nancycollins

see issue #219 for some discussion.

hkershaw-brown avatar May 27 '21 22:05 hkershaw-brown

closing inactivity

hkershaw-brown avatar Aug 07 '24 21:08 hkershaw-brown