OSDN Git Service

lit: Use sys.executable for executing builtin commands
authorTom Stellard <tstellar@redhat.com>
Fri, 31 Aug 2018 20:15:31 +0000 (20:15 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 31 Aug 2018 20:15:31 +0000 (20:15 +0000)
commitc523f7a1225edde38d7e84988e811ae73c74ca36
treebacd4098993b2317f089645170691465722ea06a
parent6c04680ab10f22dce210f0eb11afd0cf7eccb575
lit: Use sys.executable for executing builtin commands

Summary:
The python executable may not exist on all systems so use sys.executable
instead.

Reviewers: ddunbar, stella.stamenova

Subscribers: delcypher, llvm-commits

Differential Revision: https://reviews.llvm.org/D51511

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341244 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/TestRunner.py