README.md 998 Bytes
Newer Older
Daniel Smith's avatar
Daniel Smith committed
1 2 3 4 5
# What am I?
This is a minimal log parser for test logs created by the COIN CI system. Provide a directory of logs in .txt format, and the parser will spit out a directory of results in txt format that shows any failed tests and their failed test cases.

# Prerequisites
1. argparse for python3
Daniel Smith's avatar
Daniel Smith committed
6
2. requests for python3
Daniel Smith's avatar
Daniel Smith committed
7 8 9

# Arguments
1. --logdir - The full path to a directory of logs. Please use uour OS's correct path separator.
10 11 12 13 14 15
2. --logurl - The URL to a logfile in txt or gzip format. Suitable for use directy with COIN URLs.
3. --outputdir - Specify the output location for result files. Defaults to {logdir}/parser_results.
    1. Custom value required when using --logurl unless file output is suppressed with --suppressfile. Please use your OS's correct path separator.
4. --printall - Set to force printing details of tests with more than 9 fail cases.
5. --suppressconsole - Set to prevent writing results to screen.
6. --suppressfile - Set to prevent writing results to file.