[libcxx-commits] [PATCH] D99532: [libcxx] Make the GDB pretty printer test less strict
Petr Hosek via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 15 23:34:03 PDT 2021
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9ac988f6a80a: [libcxx] Make the GDB pretty printer test less strict (authored by phosek).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99532/new/
https://reviews.llvm.org/D99532
Files:
libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py
Index: libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py
===================================================================
--- libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py
+++ libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py
@@ -49,7 +49,7 @@
expectation_val = compare_frame.read_var("expectation")
check_literal = expectation_val.string(encoding="utf-8")
if "PrettyPrintToRegex" in compare_frame.name():
- test_fails = not re.match(check_literal, value)
+ test_fails = not re.search(check_literal, value)
else:
test_fails = value != check_literal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99532.338000.patch
Type: text/x-patch
Size: 657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210416/f76d98a3/attachment.bin>
More information about the libcxx-commits
mailing list