Skip to content

Commit

Permalink
Moved test folder
Browse files Browse the repository at this point in the history
previous location caused issues with building the main SW
  • Loading branch information
Cabooman committed Feb 5, 2024
1 parent da8421d commit 396f41e
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ cmake_minimum_required(VERSION 3.10)
project(BatteryEmulator)

add_subdirectory(Software/src/devboard/utils)
add_subdirectory(Software/test)
add_subdirectory(test)
2 changes: 1 addition & 1 deletion Software/src/devboard/utils/events_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// The test library must be included first!
#include "../../../test/test_lib.h"
#include "../../../../test/test_lib.h"

#include "events.cpp"

Expand Down
2 changes: 1 addition & 1 deletion Software/test/CMakeLists.txt → test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_executable(events_test ../src/devboard/utils/events_test.cpp test_lib.cpp)
add_executable(events_test ../Software/src/devboard/utils/events_test.cpp test_lib.cpp)

target_compile_definitions(events_test PRIVATE UNIT_TEST)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 396f41e

Please sign in to comment.