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

Unified Diff: runtime/bin/run_vm_tests.cc

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 years, 1 month 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 | « runtime/bin/root_certificates_unsupported.cc ('k') | runtime/bin/run_vm_tests_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/run_vm_tests.cc
diff --git a/runtime/bin/run_vm_tests.cc b/runtime/bin/run_vm_tests.cc
index 0be95651216b44bc6ccfc0731f0bfb1189360e2f..3f621fe838912998676f3e8b7f9ace54ce9a30ff 100644
--- a/runtime/bin/run_vm_tests.cc
+++ b/runtime/bin/run_vm_tests.cc
@@ -55,8 +55,8 @@ void Benchmark::RunBenchmark() {
if ((run_filter == kAllBenchmarks) ||
(strcmp(run_filter, this->name()) == 0)) {
this->Run();
- OS::Print("%s(%s): %" Pd64 "\n",
- this->name(), this->score_kind(), this->score());
+ OS::Print("%s(%s): %" Pd64 "\n", this->name(), this->score_kind(),
+ this->score());
run_matches++;
} else if (run_filter == kList) {
fprintf(stdout, "%s\n", this->name());
@@ -66,8 +66,9 @@ void Benchmark::RunBenchmark() {
static void PrintUsage() {
- fprintf(stderr, "run_vm_tests [--list | --benchmarks | "
- "<test name> | <benchmark name>]\n");
+ fprintf(stderr,
+ "run_vm_tests [--list | --benchmarks | "
+ "<test name> | <benchmark name>]\n");
fprintf(stderr, "run_vm_tests [vm-flags ...] <test name>\n");
fprintf(stderr, "run_vm_tests [vm-flags ...] <benchmark name>\n");
}
@@ -103,19 +104,14 @@ static int Main(int argc, const char** argv) {
dart_argc = argc - 2;
dart_argv = &argv[1];
}
- bool set_vm_flags_success = Flags::ProcessCommandLineFlags(dart_argc,
- dart_argv);
+ bool set_vm_flags_success =
+ Flags::ProcessCommandLineFlags(dart_argc, dart_argv);
ASSERT(set_vm_flags_success);
- const char* err_msg = Dart::InitOnce(dart::bin::vm_isolate_snapshot_buffer,
- NULL, NULL,
- NULL, NULL,
- NULL,
- dart::bin::DartUtils::OpenFile,
- dart::bin::DartUtils::ReadFile,
- dart::bin::DartUtils::WriteFile,
- dart::bin::DartUtils::CloseFile,
- NULL,
- NULL);
+ const char* err_msg = Dart::InitOnce(
+ dart::bin::vm_isolate_snapshot_buffer, NULL, NULL, NULL, NULL, NULL,
+ dart::bin::DartUtils::OpenFile, dart::bin::DartUtils::ReadFile,
+ dart::bin::DartUtils::WriteFile, dart::bin::DartUtils::CloseFile, NULL,
+ NULL);
ASSERT(err_msg == NULL);
// Apply the filter to all registered tests.
TestCaseBase::RunAll();
« no previous file with comments | « runtime/bin/root_certificates_unsupported.cc ('k') | runtime/bin/run_vm_tests_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698