Split up minidump register context tests
authorPavel Labath <pavel@labath.sk>
Fri, 22 Feb 2019 08:51:08 +0000 (08:51 +0000)
committerPavel Labath <pavel@labath.sk>
Fri, 22 Feb 2019 08:51:08 +0000 (08:51 +0000)
commitd7fd9573950d82401ca70fd37b573aa69907e642
treebee90fbd441a93c66eac51e645932d2cfdd26fdb
parent11358dd65d29a7ae50861aa5711092d7e9dd66d0
Split up minidump register context tests

The tests were doing two somewhat independent things:
- checking that the registers can be retrieved from the minidump file
- checking that they can be converted into a form suitable for
  consumption by lldb

The first thing requires a minidump file (but it's independent of other
lldb structures), while the second one does not require a minidump file
(but it needs lldb register info structures).

Splitting this into two tests gives an opportunity to write more
detailed tests, and allows the two pieces of functionality to be moved
into different packages, if that proves to be necessary.

llvm-svn: 354662
lldb/unittests/Process/minidump/CMakeLists.txt
lldb/unittests/Process/minidump/MinidumpParserTest.cpp
lldb/unittests/Process/minidump/RegisterContextMinidumpTest.cpp [new file with mode: 0644]