Xamarin Public Jenkins (auto-signing) 279aa8f685 Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
2019-01-23 08:21:40 +00:00

24 lines
687 B
Plaintext

# 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