[PATCH] D65335: [llvm] [lit/tests] Replace 'env -u' with more portable construct

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 08:39:26 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL367123: [llvm] [lit/tests] Replace 'env -u' with more portable construct (authored by mgorny, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D65335?vs=211935&id=211949#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D65335

Files:
  llvm/trunk/utils/lit/tests/lit.cfg


Index: llvm/trunk/utils/lit/tests/lit.cfg
===================================================================
--- llvm/trunk/utils/lit/tests/lit.cfg
+++ llvm/trunk/utils/lit/tests/lit.cfg
@@ -53,7 +53,7 @@
     config.test_source_root, 'Inputs')))
 config.substitutions.append(('%{lit}',
     "{env} %{{python}} {lit}".format(
-        env="env -u FILECHECK_OPTS -u FILECHECK_DUMP_INPUT_ON_FAILURE",
+        env="env FILECHECK_OPTS= FILECHECK_DUMP_INPUT_ON_FAILURE=",
         lit=os.path.join(lit_path, 'lit.py'))))
 config.substitutions.append(('%{python}', '"%s"' % (sys.executable)))
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65335.211949.patch
Type: text/x-patch
Size: 591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190726/e9e897c7/attachment.bin>


More information about the llvm-commits mailing list