llvm-for-llvmta/utils/lit/tests/Inputs/shtest-env/env.txt

16 lines
465 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# Check for simple one environment variable setting
#
# RUN: env A_FOO=999 %{python} print_environment.py \
# RUN: | FileCheck --check-prefix=CHECK-ENV-1 %s
#
# Check for multiple environment variable settings
#
# RUN: env A_FOO=1 B_BAR=2 C_OOF=3 %{python} print_environment.py \
# RUN: | FileCheck --check-prefix=CHECK-ENV-MULTIPLE %s
# CHECK-ENV-1: A_FOO = 999
# CHECK-ENV-MULTIPLE: A_FOO = 1
# CHECK-ENV-MULTIPLE: B_BAR = 2
# CHECK-ENV-MULTIPLE: C_OOF = 3