[compiler-rt] [test] Fix asan symbolize tests on py3.10
Update the asan_symbolize_script for changes in argparse output in Python 3.10. The parser output 'options' instead of 'optional arguments'. Differential Revision: https://reviews.llvm.org/D105489
This commit is contained in:
parent
2b0d95fb58
commit
2d68bb1765
|
@ -1,5 +1,5 @@
|
|||
// RUN: %asan_symbolize --help > %t_help_output.txt
|
||||
// RUN: FileCheck %s -input-file=%t_help_output.txt
|
||||
// CHECK: optional arguments:
|
||||
// CHECK: option{{al arguments|s}}:
|
||||
// CHECK: --log-dest
|
||||
// CHECK: --log-level
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
// RUN: %asan_symbolize --log-level info --plugins %S/plugin_no_op.py --help 2>&1 | FileCheck %s
|
||||
// CHECK: Registering plugin NoOpPlugin
|
||||
// CHECK: Adding --unlikely-option-name-XXX option
|
||||
// CHECK: optional arguments:
|
||||
// CHECK: option{{al arguments|s}}:
|
||||
// CHECK: --unlikely-option-name-XXX
|
||||
|
||||
|
|
Loading…
Reference in a new issue