llvm.org GIT mirror llvm / 60ccceb utils / lit / tests / Inputs / shtest-env / print_environment.py
60ccceb

Tree @60ccceb (Download .tar.gz)

print_environment.py @60cccebraw · history · blame

1
2
3
4
5
6
7
8
9
#!/usr/bin/env python

from __future__ import print_statement
import os

sorted_environment = sorted(os.environ.items())

for name,value in sorted_environment:
    print(name,'=',value)