[cfe-dev] [PATCH] Fix clang test failures on MIPS

Simon Atanasyan satanasyan at mips.com
Wed May 2 15:04:54 PDT 2012


The following clang test cases are failed on MIPS. As far as I can see the
same tests are failed on ARM as well (
The attached patch fixes some tests and marks others as "expected fail" on
MIPS. Could you please review the patch?

Clang :: Preprocessor/mmx.c
Clang :: Preprocessor/predefined-arch-macros.c

These test check definitions of various i386..x86-64 platforms specific
macros. I suggest to add "mips" to the XFAIL list for these tests.

Clang :: Driver/debug-options-as.c

This test depends on integrated assembler. I suggest to turn it on
explicitly by the "-integrated-as" option.

Clang :: Tooling/clang-check.cpp
Clang :: Tooling/clang-check-pwd.cpp
Clang :: Tooling/clang-check-args.cpp
Clang :: Tooling/clang-check-builtin-headers.cpp

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120503/afd8be07/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-test.patch
Type: application/octet-stream
Size: 3582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120503/afd8be07/attachment.obj>

More information about the cfe-dev mailing list