mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
Run the conversation cache and park pool tests in the CPU check build
The eight tests behind STRATA_BUILD_CONVERSATION_TESTS (conversation_cache_test, conversation_segment_pool_test, conversation_buffer_pool_test, park_pool_policy_test, conversation_split_failure_test, conversation_memory_test, conversation_file_test, session_save_reclaim_test) were built and run by no check step: the option is OFF by default and the cpu-check preset did not set it. The preset now turns it on, so tools/check's cmake-cpu step runs them. The option stays OFF in every product build and in the other presets. cmake-cpu on Linux: 80 tests before, 88 after (all eight pass; skipped stays 4).
This commit is contained in:
1 parent
bb1bdb4dab
commit
46b3013f96
1 file changed
+2
-1
+2
-1
@@ -5,12 +5,13 @@
|
||||
{
|
||||
"name": "cpu-check",
|
||||
"displayName": "CPU check build (no GPU, no network)",
|
||||
"description": "The fast check: the CPU-only engine pieces and every test that needs no GPU and no model. STRATA_NATIVE_EXPERTS=OFF, so ggml is not needed. tools/check runs this preset.",
|
||||
"description": "The fast check: the CPU-only engine pieces and every test that needs no GPU and no model, the conversation cache and park pool tests included. STRATA_NATIVE_EXPERTS=OFF, so ggml is not needed. tools/check runs this preset.",
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/build/${presetName}",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
"STRATA_BUILD_TESTS": "ON",
|
||||
"STRATA_BUILD_CONVERSATION_TESTS": "ON",
|
||||
"STRATA_NATIVE_EXPERTS": "OFF"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user