aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/benchmarks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-14 14:57:55 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 18:42:56 +0300
commit6aac08009254909aab3e0359f3ad7ab4e87a91e9 (patch)
tree09dac4cdb5c13e35375e49e44e51aeff7abc6529 /test/benchmarks
parentworkflows/ci: Bionic to Focal (diff)
downloadmath-server-6aac08009254909aab3e0359f3ad7ab4e87a91e9.tar.gz
math-server-6aac08009254909aab3e0359f3ad7ab4e87a91e9.zip
add `make install`, `make test`, etc.
Tests can be called using CTest now.
Diffstat (limited to 'test/benchmarks')
-rw-r--r--test/benchmarks/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/benchmarks/CMakeLists.txt b/test/benchmarks/CMakeLists.txt
index 0e168cc..c81a520 100644
--- a/test/benchmarks/CMakeLists.txt
+++ b/test/benchmarks/CMakeLists.txt
@@ -10,3 +10,5 @@ install(TARGETS benchmarks RUNTIME DESTINATION bin)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
install(FILES "$<TARGET_PDB_FILE:benchmarks>" DESTINATION bin OPTIONAL)
endif()
+
+add_test(NAME benchmarks COMMAND benchmarks --benchmark_color=false)