[PATCH] D91275: [FileCheck] Disallow unused prefixes in llvm/test/Analysis

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 07:57:01 PST 2020


mtrofin updated this revision to Diff 306414.
mtrofin marked an inline comment as done.
mtrofin added a comment.

Scoped changes to just llvm/test/Analysis


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91275/new/

https://reviews.llvm.org/D91275

Files:
  llvm/test/Analysis/lit.local.cfg


Index: llvm/test/Analysis/lit.local.cfg
===================================================================
--- /dev/null
+++ llvm/test/Analysis/lit.local.cfg
@@ -0,0 +1,9 @@
+# -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
+from lit.llvm.subst import ToolSubst
+
+fc = ToolSubst('FileCheck', unresolved='fatal')
+# Insert this first. Then, we'll first update the blank FileCheck command; then,
+# the default substitution of FileCheck will replace it to its full path.
+config.substitutions.insert(0, (fc.regex, 
+    'FileCheck --allow-unused-prefixes=false'))
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91275.306414.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/3ca95b30/attachment.bin>


More information about the llvm-commits mailing list