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

Unified Diff: test/cctest/cctest.cc

Issue 19541: Fixing the flakiness of the serialization tests by assuring that serializatio... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 11 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
Index: test/cctest/cctest.cc
===================================================================
--- test/cctest/cctest.cc (revision 1212)
+++ test/cctest/cctest.cc (working copy)
@@ -35,9 +35,9 @@
CcTest* CcTest::last_ = NULL;
-CcTest::CcTest(TestFunction* callback, const char* file,
- const char* name, bool enabled)
- : callback_(callback), name_(name), prev_(last_) {
+CcTest::CcTest(TestFunction* callback, const char* file, const char* name,
+ const char* dependency, bool enabled)
+ : callback_(callback), name_(name), dependency_(dependency), prev_(last_) {
// Find the base name of this test (const_cast required on Windows).
char *basename = strrchr(const_cast<char *>(file), '/');
if (!basename) {
@@ -62,7 +62,11 @@
static void PrintTestList(CcTest* current) {
if (current == NULL) return;
PrintTestList(current->prev());
- printf("%s/%s\n", current->file(), current->name());
+ if (current->dependency() != NULL) {
+ printf("%s/%s<%s\n", current->file(), current->name(), current->dependency());
+ } else {
+ printf("%s/%s<\n", current->file(), current->name());
+ }
}
« no previous file with comments | « test/cctest/cctest.h ('k') | test/cctest/test-serialize.cc » ('j') | test/cctest/testcfg.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698