unsupported by adding ``UNSUPPORTED: lldb-repro`` to the top of the shell
test or adding the ``skipIfReproducer`` decorator for the API tests.
-Additional testing is possible:
-
- - It's possible to unconditionally capture reproducers while running the
- entire test suite by setting the ``LLDB_CAPTURE_REPRODUCER`` environment
- variable. Assuming no bugs in reproducers, this can also help to reproduce
- and investigate test failures.
-
Knows Issues
------------
config.environment['FREEBSD_LEGACY_PLUGIN'] = os.environ[
'FREEBSD_LEGACY_PLUGIN']
-# Propagate LLDB_CAPTURE_REPRODUCER
-if 'LLDB_CAPTURE_REPRODUCER' in os.environ:
- config.environment['LLDB_CAPTURE_REPRODUCER'] = os.environ[
- 'LLDB_CAPTURE_REPRODUCER']
-
# Propagate XDG_CACHE_HOME
if 'XDG_CACHE_HOME' in os.environ:
config.environment['XDG_CACHE_HOME'] = os.environ['XDG_CACHE_HOME']
+++ /dev/null
-# This tests the LLDB_CAPTURE_REPRODUCER override.
-
-# RUN: %lldb -b -o 'reproducer status' --capture --capture-path %t.repro /bin/ls | FileCheck %s --check-prefix CAPTURE
-# RUN: %lldb -b -o 'reproducer status' --capture | FileCheck %s --check-prefix CAPTURE
-
-# RUN: LLDB_CAPTURE_REPRODUCER=1 %lldb -b -o 'reproducer status' | FileCheck %s --check-prefix CAPTURE
-# RUN: LLDB_CAPTURE_REPRODUCER=ON %lldb -b -o 'reproducer status' | FileCheck %s --check-prefix CAPTURE
-# RUN: LLDB_CAPTURE_REPRODUCER=on %lldb -b -o 'reproducer status' | FileCheck %s --check-prefix CAPTURE
-
-# RUN: LLDB_CAPTURE_REPRODUCER=0 %lldb -b -o 'reproducer status' --capture --capture-path %t.repro | FileCheck %s --check-prefix OFF
-# RUN: LLDB_CAPTURE_REPRODUCER=0 %lldb -b -o 'reproducer status' --capture | FileCheck %s --check-prefix OFF
-
-# RUN: LLDB_CAPTURE_REPRODUCER=bogus %lldb -b -o 'reproducer status' --capture | FileCheck %s --check-prefix CAPTURE
-# RUN: LLDB_CAPTURE_REPRODUCER=bogus %lldb -b -o 'reproducer status' | FileCheck %s --check-prefix OFF
-
-# CAPTURE: Reproducer is in capture mode.
-# OFF: Reproducer is off.
if 'LLVM_DISABLE_CRASH_REPORT' in config.environment:
del config.environment['LLVM_DISABLE_CRASH_REPORT']
-# Unset the always capture environment override.
-if 'LLDB_CAPTURE_REPRODUCER' in config.environment:
- del config.environment['LLDB_CAPTURE_REPRODUCER']
-
if 'system-windows' in config.available_features:
config.unsupported = True
llvm_config.with_system_environment([
'FREEBSD_LEGACY_PLUGIN',
'HOME',
- 'LLDB_CAPTURE_REPRODUCER',
'TEMP',
'TMP',
'XDG_CACHE_HOME',