reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
# Check and make sure preset environment variable were set in lit.cfg
#
# RUN: %{python} print_environment.py \
# RUN:   | FileCheck --check-prefix=CHECK-ENV-PRESET %s
#
# Check single unset of environment variable
#
# RUN: env -u FOO %{python} print_environment.py \
# RUN:  | FileCheck --check-prefix=CHECK-ENV-UNSET-1 %s
#
# Check multiple unsets of environment variables
#
# RUN: env -u FOO -u BAR %{python} print_environment.py \
# RUN:  | FileCheck --check-prefix=CHECK-ENV-UNSET-MULTIPLE %s

# CHECK-ENV-PRESET: BAR = 2
# CHECK-ENV-PRESET: FOO = 1

# CHECK-ENV-UNSET-1: BAR = 2
# CHECK-ENV-UNSET-1-NOT: FOO

# CHECK-ENV-UNSET-MULTIPLE-NOT: BAR
# CHECK-ENV-UNSET-MULTIPLE-NOT: FOO