script/autobuild.py: add --enable-coverage option
[garming/samba-autobuild/.git] / script / autobuild.py
index 195b2c904a07c87b10a1b17825477503c862250b..9cc29fff3782f9058502e2ae227bfcc36d91aed4 100755 (executable)
@@ -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()