Added tailpipe.py and improved redirecting test trace/log output over fifos
This mostly involved futzing around with some of the less intuitive parts of Unix's named-pipes behavior. This is a bit important since the tests can quickly generate several gigabytes of trace output.
This commit is contained in:
@@ -422,7 +422,8 @@ if __name__ == "__main__":
|
||||
parser.add_argument('-p', '--pattern', action='append',
|
||||
help="Regex patterns to search for starting an assert statement. This"
|
||||
" implicitly includes \"assert\" and \"=>\".")
|
||||
parser.add_argument('-l', '--limit', default=LIMIT, type=int,
|
||||
parser.add_argument('-l', '--limit',
|
||||
default=LIMIT, type=lambda x: int(x, 0),
|
||||
help="Maximum number of characters to display in strcmp and memcmp.")
|
||||
sys.exit(main(**{k: v
|
||||
for k, v in vars(parser.parse_args()).items()
|
||||
|
||||
Reference in New Issue
Block a user