mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Kotlin: Tweak the logs test to not be confused by the new logs
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user