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
 


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
 
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to