Commit 656d1767 by Matt Wala

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
parent 68e28192
......@@ -24,6 +24,7 @@ int main(int argc, char **argv) {
SzArrayLen = -2;
LlcArray = getArray(i, LlcArrayLen);
SzArray = Subzero_::getArray(i, SzArrayLen);
++TotalTests;
if (LlcArrayLen == SzArrayLen) {
++Passes;
} else {
......@@ -33,6 +34,7 @@ int main(int argc, char **argv) {
}
for (size_t i = 0; i < LlcArrayLen; ++i) {
++TotalTests;
if (LlcArray[i] == SzArray[i]) {
++Passes;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment