test: separate quick, live, and stress checks
This commit is contained in:
@@ -61,6 +61,7 @@ testmapinit(void)
|
||||
testvi.map = trieopen("../map/telex.map");
|
||||
}
|
||||
|
||||
#ifndef STRESS
|
||||
static const struct ct_test tests[] = {
|
||||
{ "str/init-utf8", str_init_utf8 },
|
||||
{ "str/edit-and-alias", str_edit_and_alias },
|
||||
@@ -119,7 +120,6 @@ static const struct ct_test tests[] = {
|
||||
{ "engine/hanja-korean-keys", engine_hanja_korean_keys },
|
||||
{ "engine/hanja-backspace", engine_hanja_backspace },
|
||||
{ "engine/hanja-input-languages", engine_hanja_input_languages },
|
||||
{ "engine/randomized-stress", engine_randomized_stress },
|
||||
{ "engine/full-boundary-passthrough", engine_full_boundary_passthrough },
|
||||
{ "dict/candidates", dictionary_candidates },
|
||||
{ "dict/misses-clear-result", dictionary_misses_clear_result },
|
||||
@@ -155,6 +155,11 @@ static const struct ct_test tests[] = {
|
||||
{ "xim/callback-owner-loss", xim_adapter_callback_owner_loss },
|
||||
{ "xim/commit-encoding", xim_adapter_commit_encoding },
|
||||
};
|
||||
#else
|
||||
static const struct ct_test tests[] = {
|
||||
{ "engine/randomized-stress", engine_randomized_stress },
|
||||
};
|
||||
#endif
|
||||
|
||||
void
|
||||
threadmain(int argc, char **argv)
|
||||
|
||||
Reference in New Issue
Block a user