##// END OF EJS Templates
run-tests: make coverage work out of tree...
Ian Moody -
r43316:e360acfa default
parent child Browse files
Show More
@@ -3170,7 +3170,7 b' class TestRunner(object):'
3170 print('WARNING: cannot fix hg.bat reference to python.exe')
3170 print('WARNING: cannot fix hg.bat reference to python.exe')
3171
3171
3172 if self.options.anycoverage:
3172 if self.options.anycoverage:
3173 custom = os.path.join(self._testdir, 'sitecustomize.py')
3173 custom = os.path.join(osenvironb[b'RUNTESTDIR'], 'sitecustomize.py')
3174 target = os.path.join(self._pythondir, 'sitecustomize.py')
3174 target = os.path.join(self._pythondir, 'sitecustomize.py')
3175 vlog('# Installing coverage trigger to %s' % target)
3175 vlog('# Installing coverage trigger to %s' % target)
3176 shutil.copyfile(custom, target)
3176 shutil.copyfile(custom, target)
General Comments 0
You need to be logged in to leave comments. Login now