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