We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5873c0d commit 3df65ebCopy full SHA for 3df65eb
1 file changed
cachelib/cachebench/CMakeLists.txt
@@ -124,4 +124,14 @@ if (BUILD_TESTS)
124
add_source_test (consistency/tests/ValueTrackerTest.cpp)
125
add_source_test (util/tests/NandWritesTest.cpp)
126
add_source_test (cache/tests/TimeStampTickerTest.cpp)
127
+
128
+ # Verify that cachebench can run a sample workload
129
+ add_test (
130
+ NAME cachebench-simple
131
+ COMMAND
132
+ $<TARGET_FILE:cachebench>
133
+ --json_test_config
134
+ ${CMAKE_CURRENT_SOURCE_DIR}/test_configs/simple_test.json
135
+ )
136
+ set_tests_properties(cachebench-simple PROPERTIES TIMEOUT 300)
137
endif()
0 commit comments