##// END OF EJS Templates
Make run-tests.py work when invoked outside of tests....
Brendan Cully -
r5267:b817d17c default
parent child Browse files
Show More
@@ -134,7 +134,8 b' def install_hg():'
134 vlog("# Performing temporary installation of HG")
134 vlog("# Performing temporary installation of HG")
135 installerrs = os.path.join("tests", "install.err")
135 installerrs = os.path.join("tests", "install.err")
136
136
137 os.chdir("..") # Get back to hg root
137 # Run installer in hg root
138 os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..'))
138 cmd = ('%s setup.py clean --all'
139 cmd = ('%s setup.py clean --all'
139 ' install --force --home="%s" --install-lib="%s"'
140 ' install --force --home="%s" --install-lib="%s"'
140 ' --install-scripts="%s" >%s 2>&1'
141 ' --install-scripts="%s" >%s 2>&1'
General Comments 0
You need to be logged in to leave comments. Login now