Fix a counter in the test_global crosstest.
Change TotalTests so that the test count matches up with the number of
recorded passes and failures.
BUG=none
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/415803004
diff --git a/crosstest/test_global_main.cpp b/crosstest/test_global_main.cpp
index e533f99..e8ebbde 100644
--- a/crosstest/test_global_main.cpp
+++ b/crosstest/test_global_main.cpp
@@ -24,6 +24,7 @@
SzArrayLen = -2;
LlcArray = getArray(i, LlcArrayLen);
SzArray = Subzero_::getArray(i, SzArrayLen);
+ ++TotalTests;
if (LlcArrayLen == SzArrayLen) {
++Passes;
} else {
@@ -33,6 +34,7 @@
}
for (size_t i = 0; i < LlcArrayLen; ++i) {
+ ++TotalTests;
if (LlcArray[i] == SzArray[i]) {
++Passes;
} else {