<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW " title="NEW --- - Test coverage-levels.cc failed in Windows native environment" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24352&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=ilQupKRZQXAbCNLoNfFj3r3N4t7G9eiw6dSQ0eh2SNQ&s=yp1wXxe0JIayunvT9kcn-OQRYPKvKinp8RemBrRJ8l8&e=">24352</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Test coverage-levels.cc failed in Windows native environment
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>URL</th>
          <td>http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/3230/steps/ninja%20check%201/logs/FAIL%3A%20UBSan-Standalone-x86_64%3A%3Acoverage-levels.cc
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>denis.briltz@intel.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>filcab@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Test coverage-levels.cc failed in Windows native environment after enabling
(Revision 243771 by filcab "[UBSan] Test: Move coverage-levels.cc out of Linux
directory") due to usage of bash syntax:

// RUN: OPT=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels

Windows CMD cannot execute it (as it requires SET command to add a variable):

'OPT=coverage=1:verbosity=1:coverage_dir=D:\\buildslave\\clang-x64-ninja-win7\\stage1\\projects\\compiler-rt\\test\\ubsan\\Standalone-x86_64\\TestCases\\Misc\\Output/coverage-levels':
command not found

Other lines also contain bash style variables handling that would prevent the
test from running. 

This problem affects Windows native build bot
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lab.llvm.org-3A8011_builders_clang-2Dx64-2Dninja-2Dwin7&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=ilQupKRZQXAbCNLoNfFj3r3N4t7G9eiw6dSQ0eh2SNQ&s=aguX-f52y-OL1DTDHnsldnFj0dn7ovWhISLECZ8KKnY&e=">http://lab.llvm.org:8011/builders/clang-x64-ninja-win7</a>. 


Denis Briltz
===============
Software Engineer
Intel Compiler Team
Intel</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>