(p)
| 456 | exitcode, stdout, stderr, _ = cppcheck_ex(args=['--debug-lookup=platform', '--platform=avr8.xml', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env) |
| 457 | assert exitcode == 0, stdout if stdout else stderr |
| 458 | def format_path(p): |
| 459 | return p.replace('\\', '/').replace('"', '\'') |
| 460 | def try_fail(f): |
| 461 | f = format_path(f) |
| 462 | return "try to load platform file '{}' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}".format(f, f) |
no test coverage detected