[PATCH] D148851: Disable llvm-symbolizer on some of the driver tests that are timing out

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 1 21:32:45 PDT 2023


ahatanak updated this revision to Diff 518630.
ahatanak added a comment.

Enable llvm-symbolizer when running disable-crash-reports.test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148851/new/

https://reviews.llvm.org/D148851

Files:
  llvm/test/tools/llvm-reduce/disable-crash-reports.test
  llvm/utils/lit/lit/TestingConfig.py


Index: llvm/utils/lit/lit/TestingConfig.py
===================================================================
--- llvm/utils/lit/lit/TestingConfig.py
+++ llvm/utils/lit/lit/TestingConfig.py
@@ -19,6 +19,7 @@
             'PATH' : os.pathsep.join(litConfig.path +
                                      [os.environ.get('PATH','')]),
             'LLVM_DISABLE_CRASH_REPORT' : '1',
+            'LLVM_DISABLE_SYMBOLIZATION' : '1',
             }
 
         pass_vars = [
Index: llvm/test/tools/llvm-reduce/disable-crash-reports.test
===================================================================
--- llvm/test/tools/llvm-reduce/disable-crash-reports.test
+++ llvm/test/tools/llvm-reduce/disable-crash-reports.test
@@ -2,7 +2,7 @@
 
 # RUN: env LLVM_DISABLE_CRASH_REPORT=0 llvm-reduce --delta-passes=global-variables -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=INTERESTING %s
 
-# RUN: not llvm-reduce --preserve-debug-environment --delta-passes=global-variables -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=NOTINTERESTING %s
+# RUN: env LLVM_DISABLE_SYMBOLIZATION=0 not llvm-reduce --preserve-debug-environment --delta-passes=global-variables -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=NOTINTERESTING %s
 
 # RUN: env LLVM_DISABLE_CRASH_REPORT=0 not llvm-reduce --preserve-debug-environment --delta-passes=global-variables -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=NOTINTERESTING %s
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148851.518630.patch
Type: text/x-patch
Size: 1710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230502/b2f5ad28/attachment.bin>


More information about the cfe-commits mailing list