Show More
@@ -3423,10 +3423,9 b' class TestRunner(object):' | |||
|
3423 | 3423 | compiler = '' |
|
3424 | 3424 | if self.options.compiler: |
|
3425 | 3425 | compiler = '--compiler ' + self.options.compiler |
|
3426 | setup_opts = b"" | |
|
3426 | 3427 | if self.options.pure: |
|
3427 |
|
|
|
3428 | else: | |
|
3429 | pure = b"" | |
|
3428 | setup_opts = b"--pure" | |
|
3430 | 3429 | |
|
3431 | 3430 | # Run installer in hg root |
|
3432 | 3431 | script = os.path.realpath(sys.argv[0]) |
@@ -3446,14 +3445,14 b' class TestRunner(object):' | |||
|
3446 | 3445 | # when they happen. |
|
3447 | 3446 | nohome = b'' |
|
3448 | 3447 | cmd = ( |
|
3449 |
b'"%(exe)s" setup.py %( |
|
|
3448 | b'"%(exe)s" setup.py %(setup_opts)s clean --all' | |
|
3450 | 3449 | b' build %(compiler)s --build-base="%(base)s"' |
|
3451 | 3450 | b' install --force --prefix="%(prefix)s"' |
|
3452 | 3451 | b' --install-lib="%(libdir)s"' |
|
3453 | 3452 | b' --install-scripts="%(bindir)s" %(nohome)s >%(logfile)s 2>&1' |
|
3454 | 3453 | % { |
|
3455 | 3454 | b'exe': exe, |
|
3456 |
b' |
|
|
3455 | b'setup_opts': setup_opts, | |
|
3457 | 3456 | b'compiler': compiler, |
|
3458 | 3457 | b'base': os.path.join(self._hgtmp, b"build"), |
|
3459 | 3458 | b'prefix': self._installdir, |
General Comments 0
You need to be logged in to leave comments.
Login now