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

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 08:31:37 PST 2020


DavidSpickett added a comment.

I found this running lit tests on a Mac that doesn't have sysctl available. Not very familiar with it so I'm not sure why that is the case for our particular machine.

So this change is me assuming the intention was to just print and carry on if "sysctl" fails.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72278/new/

https://reviews.llvm.org/D72278





More information about the llvm-commits mailing list