Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: crosstest/test_global_main.cpp

Issue 415803004: Fix a counter in the test_global crosstest. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_global_main.cpp
diff --git a/crosstest/test_global_main.cpp b/crosstest/test_global_main.cpp
index e533f9948c1e69897d0b7be5e4223b3837d7b3e5..e8ebbdebd3d35b5fee2b204f4ba8821741d96f5f 100644
--- a/crosstest/test_global_main.cpp
+++ b/crosstest/test_global_main.cpp
@@ -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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698