Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cachelib/cachebench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,14 @@ if (BUILD_TESTS)
add_source_test (consistency/tests/ValueTrackerTest.cpp)
add_source_test (util/tests/NandWritesTest.cpp)
add_source_test (cache/tests/TimeStampTickerTest.cpp)

# Verify that cachebench can run a sample workload
add_test (
NAME cachebench-simple
COMMAND
$<TARGET_FILE:cachebench>
--json_test_config
${CMAKE_CURRENT_SOURCE_DIR}/test_configs/simple_test.json
)
set_tests_properties(cachebench-simple PROPERTIES TIMEOUT 300)
endif()
Loading