OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b7492
)
Make bdtest report the total number of tests (sanity + suite)
author
Zach Johnson
<zachoverflow@google.com>
Wed, 24 Sep 2014 20:57:45 +0000
(13:57 -0700)
committer
Andre Eisenbach
<eisenbach@google.com>
Mon, 16 Mar 2015 23:51:37 +0000
(16:51 -0700)
There are currently 11 tests, but if one failed it would report 1/9 rather than 1/11.
test/suite/main.c
patch
|
blob
|
history
diff --git
a/test/suite/main.c
b/test/suite/main.c
index
c9ccec5
..
1aff77c
100644
(file)
--- a/
test/suite/main.c
+++ b/
test/suite/main.c
@@
-154,7
+154,7
@@
int main(int argc, char **argv) {
printf("\n");
if (fail) {
- printf("%d/%d tests failed. See above for failed test cases.\n", fail, test_suite_size);
+ printf("%d/%d tests failed. See above for failed test cases.\n", fail,
sanity_suite_size +
test_suite_size);
} else {
printf("All tests passed!\n");
}