Skip to content

Commit 8e058c1

Browse files
committed
moved tests to gallery
1 parent 67c749d commit 8e058c1

File tree

10 files changed

+1
-9
lines changed

10 files changed

+1
-9
lines changed

CMakeLists.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ if(${ADD_DEMO})
7171
set(CMAKE_CXX_FLAGS
7272
"-Wall -g -DUSE_GUI=${USE_GUI} -DMATPLOTLIB_MINOR_VER_GTE_4=${MATPLOTLIB_MINOR_VER_GTE_4}"
7373
)
74+
add_subdirectory(gallery/tests)
7475
add_subdirectory(gallery/lines_bars_and_markers)
7576
add_subdirectory(gallery/subplots_axes_and_figures)
7677
add_subdirectory(gallery/statistics)
@@ -81,15 +82,6 @@ if(${ADD_DEMO})
8182
add_subdirectory(gallery/scales)
8283
endif()
8384

84-
# test
85-
enable_testing()
86-
if(NOT DEFINED DO_TEST)
87-
set(DO_TEST ON)
88-
endif()
89-
if(${DO_TEST})
90-
add_subdirectory(tests)
91-
endif()
92-
9385
# install https://dominikberner.ch/cmake-interface-lib/
9486
include(GNUInstallDirs)
9587
add_library(${PROJECT_NAME} INTERFACE)
File renamed without changes.

0 commit comments

Comments
 (0)