Skip to content

Commit

Permalink
Revert "[clang][lit] Make LIT aware of env CLANG_CRASH_DIAGNOSTICS_DIR."
Browse files Browse the repository at this point in the history
This reverts commit 0292126.

Reverting because of failures when setting
`CLANG_CRASH_DIAGNOSTICS_DIR` before invoking `ninja check-clang`.
  • Loading branch information
fpetrogalli committed Apr 5, 2023
1 parent 917e0d9 commit 385bcc6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions clang/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,6 @@ def exclude_unsupported_files_for_aix(dirname):
config.substitutions.append(('llvm-nm', 'env OBJECT_MODE=any llvm-nm'))
config.substitutions.append(('llvm-ar', 'env OBJECT_MODE=any llvm-ar'))

# Pass the crash diagnostic dir set in the os environment to LIT.
if 'CLANG_CRASH_DIAGNOSTICS_DIR' in os.environ:
config.environment['CLANG_CRASH_DIAGNOSTICS_DIR'] = os.environ['CLANG_CRASH_DIAGNOSTICS_DIR']

# It is not realistically possible to account for all options that could
# possibly be present in system and user configuration files, so disable
# default configs for the test runs.
Expand Down

0 comments on commit 385bcc6

Please sign in to comment.