ktest: Add make_warnings_file and process full warnings