mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 21:36:35 +00:00
13 lines
346 B
Python
13 lines
346 B
Python
from analysis_runner import AnalysisRunner
|
|
from parser import Parser
|
|
|
|
|
|
if __name__ == '__main__':
|
|
import argparse
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument('file', nargs='?', default='debug.log')
|
|
args = parser.parse_args()
|
|
|
|
with Parser(args.file) as log:
|
|
runner = AnalysisRunner(log)
|
|
runner.run()
|