Kouhei Sutou
null+****@clear*****
Wed Nov 21 14:41:33 JST 2012
Kouhei Sutou 2012-11-21 14:41:33 +0900 (Wed, 21 Nov 2012) New Revision: c3c0fe20546e4418681e35a74635ab681afef240 https://github.com/groonga/grntest/commit/c3c0fe20546e4418681e35a74635ab681afef240 Log: Add documentation for on-error directive Modified files: README.md Modified: README.md (+23 -0) =================================================================== --- README.md 2012-11-21 14:06:26 +0900 (c1cfa81) +++ README.md 2012-11-21 14:41:33 +0900 (5c2e5d6) @@ -386,6 +386,29 @@ column_create Lexicon users_name COLUMN_INDEX Users name #@long-timeout default ``` +### `on-error` + +Usage: + +``` +#@on-error ACTION +``` + +It specifies a action on error. `ACTION` must be `default` or +`omit`. If you specify `default` as `ACTION`, the running test is +continued. If you specify `omit` as `ACTION`, the running test is +aborted and the running test is marked as omitted. + +Example: + +``` +# Omit this test if TokenKyTea tokenizer isn't available. +#@on-error omit +register tokenizers/kytea +# Don't omit this test when any error is occurred in the following commands. +#@on-error default +``` + ## Options Grntest has many options. You don't need to specify many of them -------------- next part -------------- HTML����������������������������...Download