diff --git a/CMakeLists.txt b/CMakeLists.txt index 716ff0012..887d39d0c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -624,7 +624,7 @@ endif() if(${BUILD_TESTING}) #set(CMAKE_CTEST_ARGUMENTS "-V") if(${USE_DOCTEST}) -file(GLOB TESTSRCS CONFIGURE_DEPENDS tests/*.cpp) +file(GLOB TESTSRCS CONFIGURE_DEPENDS src/tests/*.cpp) add_executable(notcurses-tester ${TESTSRCS}) target_include_directories(notcurses-tester PRIVATE diff --git a/tests/Exceptions.cpp b/src/tests/Exceptions.cpp similarity index 100% rename from tests/Exceptions.cpp rename to src/tests/Exceptions.cpp diff --git a/tests/Ncpp.cpp b/src/tests/Ncpp.cpp similarity index 100% rename from tests/Ncpp.cpp rename to src/tests/Ncpp.cpp diff --git a/tests/blit.cpp b/src/tests/blit.cpp similarity index 100% rename from tests/blit.cpp rename to src/tests/blit.cpp diff --git a/tests/cell.cpp b/src/tests/cell.cpp similarity index 100% rename from tests/cell.cpp rename to src/tests/cell.cpp diff --git a/tests/channel.cpp b/src/tests/channel.cpp similarity index 100% rename from tests/channel.cpp rename to src/tests/channel.cpp diff --git a/tests/direct.cpp b/src/tests/direct.cpp similarity index 100% rename from tests/direct.cpp rename to src/tests/direct.cpp diff --git a/tests/egcpool.cpp b/src/tests/egcpool.cpp similarity index 100% rename from tests/egcpool.cpp rename to src/tests/egcpool.cpp diff --git a/tests/fade.cpp b/src/tests/fade.cpp similarity index 100% rename from tests/fade.cpp rename to src/tests/fade.cpp diff --git a/tests/fds.cpp b/src/tests/fds.cpp similarity index 100% rename from tests/fds.cpp rename to src/tests/fds.cpp diff --git a/tests/fills.cpp b/src/tests/fills.cpp similarity index 100% rename from tests/fills.cpp rename to src/tests/fills.cpp diff --git a/tests/geom.cpp b/src/tests/geom.cpp similarity index 100% rename from tests/geom.cpp rename to src/tests/geom.cpp diff --git a/tests/input.cpp b/src/tests/input.cpp similarity index 100% rename from tests/input.cpp rename to src/tests/input.cpp diff --git a/tests/internal.cpp b/src/tests/internal.cpp similarity index 100% rename from tests/internal.cpp rename to src/tests/internal.cpp diff --git a/tests/layout.cpp b/src/tests/layout.cpp similarity index 100% rename from tests/layout.cpp rename to src/tests/layout.cpp diff --git a/tests/libunistring.cpp b/src/tests/libunistring.cpp similarity index 100% rename from tests/libunistring.cpp rename to src/tests/libunistring.cpp diff --git a/tests/main.cpp b/src/tests/main.cpp similarity index 100% rename from tests/main.cpp rename to src/tests/main.cpp diff --git a/tests/main.h b/src/tests/main.h similarity index 100% rename from tests/main.h rename to src/tests/main.h diff --git a/tests/menu.cpp b/src/tests/menu.cpp similarity index 100% rename from tests/menu.cpp rename to src/tests/menu.cpp diff --git a/tests/metric.cpp b/src/tests/metric.cpp similarity index 100% rename from tests/metric.cpp rename to src/tests/metric.cpp diff --git a/tests/notcurses.cpp b/src/tests/notcurses.cpp similarity index 100% rename from tests/notcurses.cpp rename to src/tests/notcurses.cpp diff --git a/tests/palette.cpp b/src/tests/palette.cpp similarity index 100% rename from tests/palette.cpp rename to src/tests/palette.cpp diff --git a/tests/piles.cpp b/src/tests/piles.cpp similarity index 100% rename from tests/piles.cpp rename to src/tests/piles.cpp diff --git a/tests/plane.cpp b/src/tests/plane.cpp similarity index 100% rename from tests/plane.cpp rename to src/tests/plane.cpp diff --git a/tests/plot.cpp b/src/tests/plot.cpp similarity index 100% rename from tests/plot.cpp rename to src/tests/plot.cpp diff --git a/tests/progbar.cpp b/src/tests/progbar.cpp similarity index 100% rename from tests/progbar.cpp rename to src/tests/progbar.cpp diff --git a/tests/reader.cpp b/src/tests/reader.cpp similarity index 100% rename from tests/reader.cpp rename to src/tests/reader.cpp diff --git a/tests/reel.cpp b/src/tests/reel.cpp similarity index 100% rename from tests/reel.cpp rename to src/tests/reel.cpp diff --git a/tests/reelgaps.cpp b/src/tests/reelgaps.cpp similarity index 100% rename from tests/reelgaps.cpp rename to src/tests/reelgaps.cpp diff --git a/tests/resize.cpp b/src/tests/resize.cpp similarity index 100% rename from tests/resize.cpp rename to src/tests/resize.cpp diff --git a/tests/rotate.cpp b/src/tests/rotate.cpp similarity index 100% rename from tests/rotate.cpp rename to src/tests/rotate.cpp diff --git a/tests/scrolling.cpp b/src/tests/scrolling.cpp similarity index 100% rename from tests/scrolling.cpp rename to src/tests/scrolling.cpp diff --git a/tests/selector.cpp b/src/tests/selector.cpp similarity index 100% rename from tests/selector.cpp rename to src/tests/selector.cpp diff --git a/tests/stacking.cpp b/src/tests/stacking.cpp similarity index 100% rename from tests/stacking.cpp rename to src/tests/stacking.cpp diff --git a/tests/version.cpp b/src/tests/version.cpp similarity index 100% rename from tests/version.cpp rename to src/tests/version.cpp diff --git a/tests/visual.cpp b/src/tests/visual.cpp similarity index 100% rename from tests/visual.cpp rename to src/tests/visual.cpp diff --git a/tests/wide.cpp b/src/tests/wide.cpp similarity index 100% rename from tests/wide.cpp rename to src/tests/wide.cpp diff --git a/tests/zaxis.cpp b/src/tests/zaxis.cpp similarity index 100% rename from tests/zaxis.cpp rename to src/tests/zaxis.cpp