Debian Codegraph @

llvm/test/tools/llvm-reduce/Inputs/test-crash-vars.py

raw
1 import os
2 import sys
3
4 disable_crash_report = os.getenv("LLVM_DISABLE_CRASH_REPORT")
5 disable_symbolization = os.getenv("LLVM_DISABLE_SYMBOLIZATION")
6
7 # Test that this is an explicitly set true value. If we preserve the
8 # debug environment a pre-set explicit 0 should work.
9 sys.exit(disable_crash_report != "1" or disable_symbolization != "1")