diff options
author | Chase Qi <chase.qi@linaro.org> | 2016-10-27 10:27:43 +0800 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2016-10-27 10:56:57 +0000 |
commit | c2e2f698aa666e3ead64aecfa4d12d965798a6f3 (patch) | |
tree | 1bf0960a93d4b768014710bc303455c6b733fbd5 /.gitreview | |
parent | 38ea4d3f88337fe36d83e8b61d7496eedcba7d25 (diff) |
v2: sh-test-lib: add run_test_case function
When shell argument "-e" set and "$?" is non-zero, test script will exit
immediately. check_return and exit_on_fail would not work. run_test_case
should be used instead.
run_test_case runs test command within if block and able to give
pass/fail respectively. "skip_list" is supported as an optional
parameter. It skip the following tests and exit when skip_list isn't
empty.
Change-Id: I0f4040f37b6d9daa0558bac0d6bf87ba1c3bd904
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions