tests/run-tests.py
branchstable
changeset 1037 bef1d9649208
parent 1033 8cbcb86e4fa8
child 1038 62b7a0759ee3
equal deleted inserted replaced
1035:53da6702a77f 1037:bef1d9649208
   491 
   491 
   492     if options.child:
   492     if options.child:
   493         return
   493         return
   494 
   494 
   495     covrun('-c')
   495     covrun('-c')
   496     omit = ','.join([BINDIR, TESTDIR])
   496     omit = ','.join(map(os.path.join, [BINDIR, TESTDIR], ['*'] * 2))
   497     covrun('-i', '-r', '"--omit=%s"' % omit) # report
   497     covrun('-i', '-r', '"--omit=%s"' % omit) # report
   498     if options.annotate:
   498     if options.annotate:
   499         adir = os.path.join(TESTDIR, 'annotated')
   499         adir = os.path.join(TESTDIR, 'annotated')
   500         if not os.path.isdir(adir):
   500         if not os.path.isdir(adir):
   501             os.mkdir(adir)
   501             os.mkdir(adir)