From: Joel E. Denny Date: Sat, 3 Aug 2019 06:08:04 +0000 (+0000) Subject: [lit] Actually run tests for internal env command X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6207a21203cd75b27273820b8819cff9ab889dd;p=llvm [lit] Actually run tests for internal env command Put the main test script in the right directory, and fix a python bug in a local script. Reviewed By: stella.stamenova Differential Revision: https://reviews.llvm.org/D65623 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367751 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/tests/Inputs/shtest-env/print_environment.py b/utils/lit/tests/Inputs/shtest-env/print_environment.py index ac9a80e6d50..af6127670b8 100644 --- a/utils/lit/tests/Inputs/shtest-env/print_environment.py +++ b/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()) diff --git a/utils/lit/tests/Inputs/shtest-env/shtest-env.py b/utils/lit/tests/shtest-env.py similarity index 100% rename from utils/lit/tests/Inputs/shtest-env/shtest-env.py rename to utils/lit/tests/shtest-env.py