[PATCH] D65623: [lit] Actually run tests for internal env command

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 17:25:11 PDT 2019


jdenny created this revision.
jdenny added reviewers: probinson, stella.stamenova, bd1976llvm, jlpeyton, rnk, mgorny.
Herald added a subscriber: delcypher.
Herald added a project: LLVM.

Put the main test script in the right directory, and fix a python bug 
in a local script.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65623

Files:
  llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
  llvm/utils/lit/tests/Inputs/shtest-env/shtest-env.py
  llvm/utils/lit/tests/shtest-env.py


Index: llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
===================================================================
--- llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
+++ llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-from __future__ import print_statement
+from __future__ import print_function
 import os
 
 sorted_environment = sorted(os.environ.items())


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65623.212936.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190802/02eea4a0/attachment.bin>


More information about the llvm-commits mailing list