[all-commits] [llvm/llvm-project] d1783d: [iOS sim] Ensure simulator device is booted in ios...

Julian Lettner via All-commits all-commits at lists.llvm.org
Fri Dec 20 13:44:13 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d1783db9dbda78d04cd131a93978edf8f497e58b
      https://github.com/llvm/llvm-project/commit/d1783db9dbda78d04cd131a93978edf8f497e58b
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M compiler-rt/test/sanitizer_common/ios_commands/iossim_prepare.py

  Log Message:
  -----------
  [iOS sim] Ensure simulator device is booted in iossim_prepare.py

Recent versions of the iOS simulator require that a "simulator device"
is booted before we can use `simctl spawn` (see iossim_run.py) to start
processes.

We can use `simctl bootstatus` to ensure that the simulator device
is booted before we run any tests via lit.  The `-b` option starts the
device if necessary.

Reviewed By: delcypher

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




More information about the All-commits mailing list