Files
clang-p2996/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
Joel E. Denny 2c5a60f1dc [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

llvm-svn: 367751
2019-08-03 06:08:04 +00:00

10 lines
185 B
Python

#!/usr/bin/env python
from __future__ import print_function
import os
sorted_environment = sorted(os.environ.items())
for name,value in sorted_environment:
print(name,'=',value)