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

Unified Diff: crosstest/test_global_main.cpp

Issue 435353002: Subzero: Fix and clean up some cross tests. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Fix newlines and filename Created 6 years, 4 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 | « crosstest/test_global.cpp ('k') | crosstest/test_icmp.h » ('j') | 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 e8ebbdebd3d35b5fee2b204f4ba8821741d96f5f..43f96099f44e06a15c65ab881b3f92fbf6db287a 100644
--- a/crosstest/test_global_main.cpp
+++ b/crosstest/test_global_main.cpp
@@ -1,3 +1,16 @@
+//===- subzero/crosstest/test_global_main.cpp - Driver for tests ----------===//
+//
+// The Subzero Code Generator
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// Driver for crosstesting global variable access operations.
+//
+//===----------------------------------------------------------------------===//
+
/* crosstest.py --test=test_global.cpp \
--driver=test_global_main.cpp --prefix=Subzero_ --output=test_global */
@@ -29,7 +42,7 @@ int main(int argc, char **argv) {
++Passes;
} else {
std::cout << i << ":LlcArrayLen=" << LlcArrayLen
- << ", SzArrayLen=" << SzArrayLen << std::endl;
+ << ", SzArrayLen=" << SzArrayLen << "\n";
++Failures;
}
@@ -41,7 +54,7 @@ int main(int argc, char **argv) {
++Failures;
std::cout << i << ":LlcArray[" << i << "] = " << (int)LlcArray[i]
<< ", SzArray[" << i << "] = " << (int)SzArray[i]
- << std::endl;
+ << "\n";
}
}
}
« no previous file with comments | « crosstest/test_global.cpp ('k') | crosstest/test_icmp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698