commit e9a3321742000afdd38cdf66936a759f42a9b0a4
parent d7813f53012d1e449ead1c0ed50e40b90d506277
Author: Frederic Cambus <fred@statdns.com>
Date: Sat, 26 Oct 2019 19:26:26 +0200
Add dummy test target in CMakeLists.txt.
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -4,7 +4,7 @@
# https://www.statdns.com
#
# Created: 2012-02-13
-# Last Updated: 2019-10-25
+# Last Updated: 2019-10-26
#
# StatZone is released under the BSD 2-Clause license
# See LICENSE file for details.
@@ -48,3 +48,6 @@ add_definitions(-Wall -Wextra -std=c99 -pedantic)
add_executable(statzone ${SRC})
install(TARGETS statzone DESTINATION bin)
+
+enable_testing()
+add_test(statzone statzone)