From 7f7b3f11318a9bf537679d8cca8992bcbf026695 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Thu, 1 Aug 2019 22:26:37 +0000 Subject: [PATCH] Revert r367123: "[llvm] [lit/tests] Replace 'env -u' with more portable construct" Must be reverted in order to revert r366980, which breaks windows bots. See recent D65335 and D65156 comments. llvm-svn: 367626 --- llvm/utils/lit/tests/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/lit/tests/lit.cfg b/llvm/utils/lit/tests/lit.cfg index e1034dc225ae6..2830956f80dd2 100644 --- a/llvm/utils/lit/tests/lit.cfg +++ b/llvm/utils/lit/tests/lit.cfg @@ -53,7 +53,7 @@ config.substitutions.append(('%{inputs}', os.path.join( config.test_source_root, 'Inputs'))) config.substitutions.append(('%{lit}', "{env} %{{python}} {lit}".format( - env="env FILECHECK_OPTS= FILECHECK_DUMP_INPUT_ON_FAILURE=", + env="env -u FILECHECK_OPTS -u FILECHECK_DUMP_INPUT_ON_FAILURE", lit=os.path.join(lit_path, 'lit.py')))) config.substitutions.append(('%{python}', '"%s"' % (sys.executable)))