projects
/
platform
/
upstream
/
SSAT.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4899e00
)
With -p (progress), print progress of each case.
author
MyungJoo Ham
<myungjoo.ham@samsung.com>
Tue, 29 Jan 2019 10:58:54 +0000
(19:58 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Tue, 29 Jan 2019 10:58:54 +0000
(19:58 +0900)
Print out not just the progress of test sets, but of each test case.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ssat-api.sh
patch
|
blob
|
history
diff --git
a/ssat-api.sh
b/ssat-api.sh
index
a9eba35
..
f64e87a
100644
(file)
--- a/
ssat-api.sh
+++ b/
ssat-api.sh
@@
-122,6
+122,11
@@
function testInit() {
## @param $4 set 1 if this is not critical (don't care if it's pass or fail)_
## @param $5 set 1 if $1==0 is success and $1!=0 is fail.
function testResult() {
+ if [[ "${PROGRESS}" -eq "1" ]]
+ then
+ echo "Case ${2}(${3}) report ${1}" > /dev/stderr
+ fi
+
_cases=$((_cases+1))
_good=0
if [[ "${5}" -eq "1" ]]; then