Skip to content

Commit

Permalink
Move unit tests into directory
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Davis <afd@ti.com>
  • Loading branch information
glneo committed Feb 20, 2024
1 parent 293228b commit a0dd31f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ find_package(PkgConfig REQUIRED)
find_package(GTest REQUIRED)

add_executable(dma-heap-unit-tests
src/heap_test_fixture.cpp
src/allocate_test.cpp
src/exit_test.cpp
src/invalid_values_test.cpp
src/map_test.cpp
src/unit/heap_test_fixture.cpp
src/unit/allocate_test.cpp
src/unit/exit_test.cpp
src/unit/invalid_values_test.cpp
src/unit/map_test.cpp
)

target_include_directories(dma-heap-unit-tests
PRIVATE ${GTEST_INCLUDE_DIR}
PRIVATE src/
)

target_link_libraries(dma-heap-unit-tests
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a0dd31f

Please sign in to comment.