On 02/14/2014 07:21 AM, Alexander Todorov wrote:
+coverage = None + +proc_cmdline = open("/proc/cmdline", "r").read() +if proc_cmdline.find("debug=1") > -1: + import coverage + cov = coverage.coverage(data_file="/mnt/sysimage/root/anaconda.coverage", + branch=True, + source=["/usr/sbin/anaconda", "pyanaconda"] + ) + cov.start() + +
debug=1 on the kernel command line gets pulled into the anaconda cmdline arguments. Would you be ok with starting this after the parseOptions call, based on opts.debug = True, or does it need to start at the very beginning of the file?
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list