contrib/automation/hgautomation/linux.py
changeset 52652 0e713555ecdc
parent 51832 905bc9d0a149
equal deleted inserted replaced
52651:f066fc0bdc7a 52652:0e713555ecdc
   583     elif python_version.startswith('pypy'):
   583     elif python_version.startswith('pypy'):
   584         python = '/hgdev/pyenv/shims/%s' % python_version
   584         python = '/hgdev/pyenv/shims/%s' % python_version
   585     else:
   585     else:
   586         python = '/hgdev/pyenv/shims/python%s' % python_version
   586         python = '/hgdev/pyenv/shims/python%s' % python_version
   587 
   587 
   588     test_flags = ' '.join(shlex.quote(a) for a in test_flags)
   588     test_flags = shlex.join(test_flags)
   589 
   589 
   590     command = (
   590     command = (
   591         '/bin/sh -c "export TMPDIR=/hgwork/tmp; '
   591         '/bin/sh -c "export TMPDIR=/hgwork/tmp; '
   592         'cd /hgwork/src/tests && %s run-tests.py %s"' % (python, test_flags)
   592         'cd /hgwork/src/tests && %s run-tests.py %s"' % (python, test_flags)
   593     )
   593     )