@@ -0,0 +1,1332 @@
+#!/usr/bin/env python%0A%0A# Copyright 2019 The Servo Project Developers. See the COPYRIGHT%0A# file at the top-level directory of this distribution.%0A#%0A# Licensed under the Apache License, Version 2.0 %3CLICENSE-APACHE or%0A# http://www.apache.org/licenses/LICENSE-2.0%3E or the MIT license%0A# %3CLICENSE-MIT or http://opensource.org/licenses/MIT%3E, at your%0A# option. This file may not be copied, modified, or distributed%0A# except according to those terms.%0A%0Aimport sys%0Aimport json%0A%0Afull_search = len(sys.argv) %3E 3 and sys.argv%5B3%5D == '--full'%0A    %0Awith open(sys.argv%5B1%5D) as f:%0A    data = f.readlines()%0A    thread = None%0A    for entry in data:%0A        entry = json.loads(entry)%0A        if thread and %22thread%22 in entry:%0A            if entry%5B%22thread%22%5D == thread:%0A                print(json.dumps(entry))%0A                if %22action%22 in entry and entry%5B%22action%22%5D == %22test_end%22:%0A                    thread = None%0A        else:%0A            if %22action%22 in entry and %5C%0A               entry%5B%22action%22%5D == %22test_start%22 and %5C%0A               entry%5B%22test%22%5D == sys.argv%5B2%5D:%0A                thread = entry%5B%22thread%22%5D%0A                print(json.dumps(entry))%0A            elif full_search and %5C%0A                 %22command%22 in entry and %5C%0A                 sys.argv%5B2%5D in entry%5B%22command%22%5D:%0A                thread = entry%5B%22thread%22%5D%0A                print(json.dumps(entry))%0A

Add a script to extra logs for particular test filenames from full WPT logs.