[PATCH] D45002: [test] Conservatively re-enable a FreeBSD/XRay test

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 28 16:32:43 PDT 2018


lichray added inline comments.


================
Comment at: test/Driver/XRay/xray-instrument-os.c:2
 // RUN: not %clang -o /dev/null -v -fxray-instrument -c %s
-// XFAIL: -linux-
+// XFAIL: -linux-, -freebsd
 // REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64
----------------
devnexen wrote:
> What output do you get when you use directly llvm-lit on this ?
Before:

```
clang -cc1 version 7.0.0 based upon LLVM 7.0.0svn default target x86_64-unknown-freebsd11.1
#include "..." search starts here:
#include <...> search starts here:
 [...]/llvm/build/lib/clang/7.0.0/include
 /usr/include
End of search list.

--

********************
Testing Time: 0.12s
********************
Failing Tests (1):
    Clang :: Driver/XRay/xray-instrument-os.c

  Unexpected Failures: 1

```
After:
```
lit: [...]llvm/utils/lit/lit/llvm/config.py:334: note: using clang: [...]/llvm/build/bin/clang
Testing Time: 0.11s
  Expected Failures  : 1
```



Repository:
  rC Clang

https://reviews.llvm.org/D45002





More information about the cfe-commits mailing list