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

Side by Side Diff: test/cctest/test-log.cc

Issue 7353015: Clean up conditionals in tests after r8622. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | test/cctest/test-log-stack-tracer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // 2 //
3 // Tests of logging functions from log.h 3 // Tests of logging functions from log.h
4 4
5 #ifdef ENABLE_LOGGING_AND_PROFILING
6
7 #ifdef __linux__ 5 #ifdef __linux__
8 #include <math.h> 6 #include <math.h>
9 #include <pthread.h> 7 #include <pthread.h>
10 #include <signal.h> 8 #include <signal.h>
11 #include <unistd.h> 9 #include <unistd.h>
12 #endif // __linux__ 10 #endif // __linux__
13 11
14 #include "v8.h" 12 #include "v8.h"
15 #include "log.h" 13 #include "log.h"
16 #include "cpu-profiler.h" 14 #include "cpu-profiler.h"
(...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 iter = iter->get_next(); 1080 iter = iter->get_next();
1083 } 1081 }
1084 // Make sure that all log data is written prior crash due to CHECK failure. 1082 // Make sure that all log data is written prior crash due to CHECK failure.
1085 fflush(stdout); 1083 fflush(stdout);
1086 CHECK(results_equal); 1084 CHECK(results_equal);
1087 1085
1088 env->Exit(); 1086 env->Exit();
1089 LOGGER->TearDown(); 1087 LOGGER->TearDown();
1090 i::FLAG_always_compact = saved_always_compact; 1088 i::FLAG_always_compact = saved_always_compact;
1091 } 1089 }
1092
1093 #endif // ENABLE_LOGGING_AND_PROFILING
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-log-stack-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698