tests/run-tests.py
branchstable
changeset 1038 62b7a0759ee3
parent 1037 bef1d9649208
child 1039 7c2190b236cf
equal deleted inserted replaced
1037:bef1d9649208 1038:62b7a0759ee3
   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(map(os.path.join, [BINDIR, TESTDIR], ['*'] * 2))
   496     omit = ','.join(os.path.join(x, '*') for x in [BINDIR, TESTDIR])
   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)