llvm-for-llvmta/utils/lit/tests/Inputs/shtest-not/print_environment.py

7 lines
158 B
Python

from __future__ import print_function
import os
def execute():
for name in ['FOO', 'BAR']:
print(name, '=', os.environ.get(name, '[undefined]'))