forked from OSchip/llvm-project
[libcxx][pretty printers] Correct tests run detection
Missing "global" meant that we set a local "has_run_tests" so the global was False by the time everything has run.
This commit is contained in:
parent
73346f5848
commit
7ee133d3fc
|
@ -37,6 +37,8 @@ class CheckResult(gdb.Command):
|
|||
"print_and_compare", gdb.COMMAND_DATA)
|
||||
|
||||
def invoke(self, arg, from_tty):
|
||||
global has_run_tests
|
||||
|
||||
try:
|
||||
has_run_tests = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue