[PATCH] D136613: [lit][REQUIRES] Fix llvm-debuginfod.test so it will run

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 09:15:34 PDT 2022


probinson created this revision.
probinson added reviewers: noajshu, mysterymath.
Herald added a project: All.
probinson requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The test was added in D114846 <https://reviews.llvm.org/D114846> but missed one place to introduce the 
'httplib' feature keyword, so it has been UNSUPPORTED everywhere.

I don't have curl or httplib locally; I can hack my lit config to
verify this keeps the test from being UNSUPPORTED everywhere, but 
someone else will need to verify that it actually works.


https://reviews.llvm.org/D136613

Files:
  llvm/test/lit.cfg.py


Index: llvm/test/lit.cfg.py
===================================================================
--- llvm/test/lit.cfg.py
+++ llvm/test/lit.cfg.py
@@ -456,6 +456,9 @@
 if config.have_curl:
     config.available_features.add('curl')
 
+if config.have_httplib:
+    config.available_features.add('httplib')
+
 if config.have_opt_viewer_modules:
     config.available_features.add('have_opt_viewer_modules')
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136613.470180.patch
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/9387c0eb/attachment.bin>


More information about the llvm-commits mailing list