Revert r367123: "[llvm] [lit/tests] Replace 'env -u' with more portable construct"
authorJoel E. Denny <jdenny.ornl@gmail.com>
Thu, 1 Aug 2019 22:26:37 +0000 (22:26 +0000)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Thu, 1 Aug 2019 22:26:37 +0000 (22:26 +0000)
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

index e1034dc..2830956 100644 (file)
@@ -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)))