summaryrefslogtreecommitdiffstats
path: root/build_settings.cmake
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2016-08-23 13:46:55 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2016-08-23 13:46:55 +0200
commit4cfed2e622ddfd06975850f6f00e95d600602e64 (patch)
treec2a285807746c7b5e727810b5b3ce1064067c8a3 /build_settings.cmake
parent32e45e8676ab6129033b59bb8cb30549cfe4a090 (diff)
Make it possible to automatically run tests after linking.
Diffstat (limited to 'build_settings.cmake')
-rw-r--r--build_settings.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/build_settings.cmake b/build_settings.cmake
index 2115d80d387..76871e9dd5f 100644
--- a/build_settings.cmake
+++ b/build_settings.cmake
@@ -10,6 +10,12 @@ set(EXCLUDE_TESTS_FROM_ALL FALSE CACHE BOOL "If TRUE, do not build tests as part
# Whether to run unit tests via valgrind
set(VALGRIND_UNIT_TESTS FALSE CACHE BOOL "If TRUE, run unit tests via valgrind")
+# Whether to run tests marked as benchmark as part of the test runs
+set(RUN_BENCHMARKS FALSE CACHE BOOL "If TRUE, benchmars are run togheter with the other tests")
+
+# Whether to run tests marked as benchmark as part of the test runs
+set(AUTORUN_UNIT_TESTS FALSE CACHE BOOL "If TRUE, tests will be run immediately after linking the test")
+
# Warnings
set(WARN_OPTS "-Wuninitialized -Werror -Wall -W -Wchar-subscripts -Wcomment -Wformat -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings")