llvm-project/lldb/test/Shell/Process/TestEnvironment.test
Jonas Devlieghere 536612df4b [lldb/Test] Use lit's capabilities to skip lldb-repro tests.
This allows us to skip the reproducer tests themselves as a whole as
well as individual tests with the UNSUPPORTED keyword.
2020-01-22 13:24:12 -08:00

11 lines
331 B
Plaintext

UNSUPPORTED: system-windows
UNSUPPORTED: lldb-repro
The double quotes around "BAR" ensure we don't match the command.
RUN: %clangxx_host -std=c++11 %p/Inputs/env.cpp -o %t
RUN: %lldb %t -o 'process launch --environment FOO="BAR"' | FileCheck %s
RUN: %lldb %t -o 'env FOO="BAR"' -o 'process launch' | FileCheck %s
CHECK: FOO=BAR