<p>Hi,</p>
<p>The following clang test cases are failed on MIPS. As far as I can see the same tests are failed on ARM as well (<a href="http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/1762/steps/test-clang/logs/fail">http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/1762/steps/test-clang/logs/fail</a>). The attached patch fixes some tests and marks others as "expected fail" on MIPS. Could you please review the patch?</p>

<p>Clang :: Preprocessor/mmx.c<br>
Clang :: Preprocessor/predefined-arch-macros.c</p>
<p>These test check definitions of various i386..x86-64 platforms specific macros. I suggest to add "mips" to the XFAIL list for these tests.</p>
<p>Clang :: Driver/debug-options-as.c</p>
<p>This test depends on integrated assembler. I suggest to turn it on explicitly by the "-integrated-as" option.</p>
<p>Clang :: Tooling/clang-check.cpp<br>
Clang :: Tooling/clang-check-pwd.cpp<br>
Clang :: Tooling/clang-check-args.cpp<br>
Clang :: Tooling/clang-check-builtin-headers.cpp</p>
<p>These tests expect that clang driver runs exactly one compiler job, but integrated assembler is turned off on MIPS by default and the driver runs two jobs. I suggest to add "mips" to the XFAIL list for these tests.</p>

<p>--<br>
Simon</p>