##// END OF EJS Templates
run-tests: ensure install directories exist...
Gregory Szorc -
r24075:4bf48427 default
parent child Browse files
Show More
@@ -1863,6 +1863,17 b' class TestRunner(object):'
1863 'prefix': self._installdir, 'libdir': self._pythondir,
1863 'prefix': self._installdir, 'libdir': self._pythondir,
1864 'bindir': self._bindir,
1864 'bindir': self._bindir,
1865 'nohome': nohome, 'logfile': installerrs})
1865 'nohome': nohome, 'logfile': installerrs})
1866
1867 # setuptools requires install directories to exist.
1868 def makedirs(p):
1869 try:
1870 os.makedirs(p)
1871 except OSError, e:
1872 if e.errno != errno.EEXIST:
1873 raise
1874 makedirs(self._pythondir)
1875 makedirs(self._bindir)
1876
1866 vlog("# Running", cmd)
1877 vlog("# Running", cmd)
1867 if os.system(cmd) == 0:
1878 if os.system(cmd) == 0:
1868 if not self.options.verbose:
1879 if not self.options.verbose:
General Comments 0
You need to be logged in to leave comments. Login now