<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:aakash_jain&#64;apple.com" title="Aakash Jain &lt;aakash_jain&#64;apple.com&gt;"> <span class="fn">Aakash Jain</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iOS Simulator layout-tests fail to start while cleaning a directory structure if simulator is already running"
   href="https://bugs.webkit.org/show_bug.cgi?id=148197">bug 148197</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #259414 Flags</td>
           <td>
               &nbsp;
           </td>
           <td>review?, commit-queue?
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iOS Simulator layout-tests fail to start while cleaning a directory structure if simulator is already running"
   href="https://bugs.webkit.org/show_bug.cgi?id=148197#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iOS Simulator layout-tests fail to start while cleaning a directory structure if simulator is already running"
   href="https://bugs.webkit.org/show_bug.cgi?id=148197">bug 148197</a>
              from <span class="vcard"><a class="email" href="mailto:aakash_jain&#64;apple.com" title="Aakash Jain &lt;aakash_jain&#64;apple.com&gt;"> <span class="fn">Aakash Jain</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=259414&amp;action=diff" name="attach_259414" title="proposed patch">attachment 259414</a> <a href="attachment.cgi?id=259414&amp;action=edit" title="proposed patch">[details]</a></span>
proposed patch

The failure happens when a simulator is already running (due to previous run or some other reasons). Due to that the directory cannot be deleted since the simulator is writing some files to it. 
In this patch, we are quitting all the running simulator before attempting to delete the logs directory. Tested on local setup.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>