[PATCH] D40202: Add opt-viewer testing

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 17:22:14 PST 2017


anemet created this revision.
Herald added a subscriber: mgorny.

Detects whether we have the Python modules (pygments, yaml) required by
opt-viewer and hooks this up to REQUIRES.

This fixes https://bugs.llvm.org/show_bug.cgi?id=34129 (the lack of opt-viewer
testing).

It's also related to https://github.com/apple/swift/pull/12938 and the idea is
to expose LLVM_HAVE_OPT_VIEWER_MODULES to the Swift cmake.


https://reviews.llvm.org/D40202

Files:
  cmake/modules/AddLLVM.cmake
  test/lit.cfg.py
  test/lit.site.cfg.py.in
  test/tools/opt-viewer/Inputs/basic/or.c
  test/tools/opt-viewer/Inputs/basic/or.h
  test/tools/opt-viewer/Inputs/basic/or.yaml
  test/tools/opt-viewer/Outputs/basic/basic_or.c.html
  test/tools/opt-viewer/Outputs/basic/basic_or.h.html
  test/tools/opt-viewer/Outputs/basic/index.html
  test/tools/opt-viewer/Outputs/basic/style.css
  test/tools/opt-viewer/basic.test
  test/tools/opt-viewer/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40202.123453.patch
Type: text/x-patch
Size: 39985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171118/13502035/attachment-0001.bin>


More information about the llvm-commits mailing list