From 87ea55e43662d95a430856e2584c172c689dcaf5 Mon Sep 17 00:00:00 2001 From: Joe Guo Date: Sat, 4 May 2019 02:32:40 +1200 Subject: script/autobuild.py: add --enable-coverage option Signed-off-by: Joe Guo Reviewed-by: Andrew Bartlett --- script/autobuild.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script') diff --git a/script/autobuild.py b/script/autobuild.py index 195b2c904a0..9cc29fff378 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -86,6 +86,9 @@ parser.add_option("", "--attach-logs", help="Attach logs to mails sent on succes default=False, action="store_true") parser.add_option("", "--restrict-tests", help="run as make test with this TESTS= regex", default='') +parser.add_option("--enable-coverage", dest='enable_coverage', + action="store_const", const='--enable-coverage', default='', + help="Add --enable-coverage option while configure") (options, args) = parser.parse_args() -- cgit v1.2.1