[bolt] Clean up lit site cfg files a bit
authorNico Weber <thakis@chromium.org>
Fri, 18 Nov 2022 15:36:14 +0000 (10:36 -0500)
committerNico Weber <thakis@chromium.org>
Fri, 18 Nov 2022 17:07:10 +0000 (12:07 -0500)
commit187729ce9fdee6ac47aeab2d1860d538f3835776
treebf2390e1e9822fd94aee754e292850f46193a0c8
parent58d38b3ff8c3c4dd816d2047acf65fa97c0b6fb8
[bolt] Clean up lit site cfg files a bit

* Stop setting config.python_executable in Unit/lit.site.cfg.py.in.
  All other projects only set this in the main lit config, not in the
  one for unit tests. (Unit tests don't spawn Python.)
* Set config.python_executable to Python3_EXECUTABLE in main
  lit.site.cfg.py.in instead of PYTHON_EXECUTABLE. All other files
  did this in c4c3883b00.
* Stop setting enable_abi_breaking_checks, enable_backtrace, enable_shared.
  Nothing in bolt's tests (or in lit) reads them.

Differential Revision: https://reviews.llvm.org/D138299
bolt/test/Unit/lit.site.cfg.py.in
bolt/test/lit.site.cfg.py.in