This is an archive of the discontinued LLVM Phabricator instance.

[test] Fix an XRay test on FreeBSD
ClosedPublic

Authored by lichray on Mar 28 2018, 3:17 PM.

Diff Detail

Event Timeline

lichray created this revision.Mar 28 2018, 3:17 PM
devnexen added inline comments.Mar 28 2018, 3:58 PM
test/Driver/XRay/xray-instrument-os.c
2

What output do you get when you use directly llvm-lit on this ?

lichray added inline comments.Mar 28 2018, 4:32 PM
test/Driver/XRay/xray-instrument-os.c
2

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

Looks ok to me except I would change a bit the title maybe.

lichray retitled this revision from [test] Conservatively re-enable a FreeBSD/XRay test to [test] Fix a XRay test on FreeBSD.Mar 29 2018, 8:45 AM
lichray retitled this revision from [test] Fix a XRay test on FreeBSD to [test] Fix an XRay test on FreeBSD.

Since I do not have commit permissions hopefully @dberris will come by or kamil if he s less busy.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 29 2018, 8:53 AM
This revision was automatically updated to reflect the committed changes.