[lldb] Fix TestObjectFileJSON and TestSymbolFileJSON
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 17 Apr 2023 18:58:27 +0000 (11:58 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 17 Apr 2023 19:01:24 +0000 (12:01 -0700)
commitf40ed1f619046e98d08b092b1afb835ed5156f52
tree9b88b594ed2203e18f00a538ddd89bae0595b035
parentd8472ac238dfd2f3bae61a56903de5ef5df6360a
[lldb] Fix TestObjectFileJSON and TestSymbolFileJSON

 - Separate the two test and only have TestSymbolFileJSON rely on strip.
 - Use different file names to make sure LLDB reloads the module.

This should address all the post commit review from D148062.
lldb/test/API/functionalities/json/object-file/Makefile [new file with mode: 0644]
lldb/test/API/functionalities/json/object-file/TestObjectFileJSON.py [moved from lldb/test/API/macosx/symbols/TestObjectFileJSON.py with 88% similarity]
lldb/test/API/functionalities/json/object-file/main.c [moved from lldb/test/API/macosx/symbols/main.c with 100% similarity]
lldb/test/API/functionalities/json/symbol-file/Makefile [moved from lldb/test/API/macosx/symbols/Makefile with 100% similarity]
lldb/test/API/functionalities/json/symbol-file/TestSymbolFileJSON.py [moved from lldb/test/API/macosx/symbols/TestSymbolFileJSON.py with 100% similarity]
lldb/test/API/functionalities/json/symbol-file/main.c [new file with mode: 0644]