[Lldb-commits] [PATCH] D40475: DWZ 12/12: DWZ test mode

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 26 05:20:53 PST 2017


jankratochvil created this revision.
Herald added subscribers: eraman, aprantl.

Many ERRORs are correct because for many *_dwz testcases DWZ cannot be applied. Otherwise their tests would be duplicating their *_dwarf counterparts.

Using for regression comparison of *_dwz against *_dwarf:

  rm -rf RESULT-dwz  ;mv lldb-test-traces RESULT-dwz  ;mv log RESULT-dwz.log
  
  sed -e '1,/^Issue Details$/d' <RESULT-dwz.log >RESULT-dwz.issues;for type in dwz dwarf;do for t in $(grep -v '^ERROR: ' RESULT-dwz.issues|sed -n 's/^.*: \(test_[^ ]*_\)dwz .*$/\1/p'|sort -u);do sed -n "s/\(: ${t}\)$type /\1 /p" RESULT-dwz.issues;done|sort >RESULT-dwz.$type;done;diff -U-1 RESULT-dwz.{dwarf,dwz}|less

All DWZ patches are also applied in: git clone -b dwz git://git.jankratochvil.net/lldb


https://reviews.llvm.org/D40475

Files:
  packages/Python/lldbsuite/test/lldbinline.py
  packages/Python/lldbsuite/test/lldbtest.py
  packages/Python/lldbsuite/test/make/Makefile.rules
  packages/Python/lldbsuite/test/plugins/builder_base.py
  packages/Python/lldbsuite/test/test_categories.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40475.124301.patch
Type: text/x-patch
Size: 7889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171126/3a1dec50/attachment.bin>


More information about the lldb-commits mailing list