[libcxx][pretty printers] Correct tests run detection
authorDavid Spickett <david.spickett@linaro.org>
Thu, 7 Oct 2021 12:36:01 +0000 (13:36 +0100)
committerDavid Spickett <david.spickett@linaro.org>
Thu, 7 Oct 2021 12:36:01 +0000 (13:36 +0100)
commit7ee133d3fce730d39dba68b81d8ab2285ba8b349
treecf3917a313efd4ac33c41d4cfa005abe7466adde
parent73346f58486d29c0d2687af1208fa146168d62d8
[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.
libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py