Kotlin: Tweak the logs test to not be confused by the new logs

This commit is contained in:
Ian Lynagh
2023-10-27 12:04:43 +01:00
parent 0a0ce1f202
commit 0cf702a74f

View File

@@ -36,6 +36,9 @@ with open('logs.csv', 'w', newline='') as f_out:
if msg.startswith('Peak memory: '):
# Peak memory information varies from run to run, so just ignore it
continue
if msg.startswith('Will write TRAP file ') or msg.startswith('Finished writing TRAP file '):
# These vary between machines etc, and aren't very interesting, so just ignore them
continue
write_line(j['origin'], j['kind'], msg)
runSuccessfully(["codeql", "database", "index-files", "--language=csv", "--include=logs.csv", "test-db"])