Building with -Wunreachable-code-loop-increment causes a warning
due to always returning on the first iteration of the loop that
outputs errors on invalid args.
Collect all errors, and output them in a single error message
after the loop completes, resolving the warning and avoiding
popup hell by outputting a seperate message for each error.
self.nodes[0].stop_node(expected_stderr='Warning: '+inc_conf_file_path+':1 Section [testnot] is not recognized.'+os.linesep+'Warning: '+inc_conf_file2_path+':1 Section [testnet] is not recognized.')
self.nodes[0].stop_node(expected_stderr='Warning: '+inc_conf_file_path+':1 Section [testnot] is not recognized.'+os.linesep+inc_conf_file2_path+':1 Section [testnet] is not recognized.')