[all-commits] [llvm/llvm-project] 952a54: [test] On Mac, don't try to use result of sysctl c...

David Spickett via All-commits all-commits at lists.llvm.org
Mon Jan 20 02:05:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 952a540b21993e44088ff2c345df884caabbb8c0
      https://github.com/llvm/llvm-project/commit/952a540b21993e44088ff2c345df884caabbb8c0
  Author: David Spickett <david.spickett at arm.com>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M llvm/test/lit.cfg.py

  Log Message:
  -----------
  [test] On Mac, don't try to use result of sysctl command if calling it failed.

If sysctl is not found at all, let the usual exception propogate
so that the user can fix their env. If it fails because of the
permissions required to read the property then print a warning
and continue.

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




More information about the All-commits mailing list