From f5ce055415376a9d93e3a26abfbad9f76b6431a8 Mon Sep 17 00:00:00 2001 From: Tim Haines Date: Wed, 2 Oct 2024 12:43:41 -0500 Subject: [PATCH] Remove dyn{Elf,Dwarf} tests These are no longer part of the public API. --- CMakeLists.txt | 2 -- dwarf/CMakeLists.txt | 5 ----- dwarf/includes.cpp | 8 -------- elf/CMakeLists.txt | 5 ----- elf/includes.cpp | 6 ------ 5 files changed, 26 deletions(-) delete mode 100644 dwarf/CMakeLists.txt delete mode 100644 dwarf/includes.cpp delete mode 100644 elf/CMakeLists.txt delete mode 100644 elf/includes.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index db80f76..57e1864 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,8 @@ enable_testing() add_subdirectory(common) add_subdirectory(dataflowAPI) -add_subdirectory(dwarf) add_subdirectory(dynC_API) add_subdirectory(dyninstAPI) -add_subdirectory(elf) add_subdirectory(generic) add_subdirectory(instructionAPI) add_subdirectory(parseAPI) diff --git a/dwarf/CMakeLists.txt b/dwarf/CMakeLists.txt deleted file mode 100644 index 1d45df4..0000000 --- a/dwarf/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -project(dwarf) - -add_executable(dwarf_includes includes.cpp) -target_link_libraries(dwarf_includes PRIVATE Dyninst::dynDwarf) -add_test(NAME dwarf_includes COMMAND dwarf_includes) diff --git a/dwarf/includes.cpp b/dwarf/includes.cpp deleted file mode 100644 index f7f8d55..0000000 --- a/dwarf/includes.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include "dwarfExprParser.h" -#include "dwarfFrameParser.h" -#include "dwarfHandle.h" -#include "dwarfResult.h" - -int main() { - auto d = Dyninst::DwarfDyninst::ConcreteDwarfResult{}; -} diff --git a/elf/CMakeLists.txt b/elf/CMakeLists.txt deleted file mode 100644 index 639eb34..0000000 --- a/elf/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -project(elf) - -add_executable(dynelf_includes includes.cpp) -target_link_libraries(dynelf_includes PRIVATE Dyninst::dynElf) -add_test(NAME dynelf_includes COMMAND dynelf_includes) diff --git a/elf/includes.cpp b/elf/includes.cpp deleted file mode 100644 index b11eba1..0000000 --- a/elf/includes.cpp +++ /dev/null @@ -1,6 +0,0 @@ -#include "Elf_X.h" - -int main() { - Dyninst::Elf_X_Phdr ex; - ex.isValid(); -}