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

Unified Diff: tests/standalone/io/code_collection_test.dart

Issue 1952063004: - Add more information for failing test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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: tests/standalone/io/code_collection_test.dart
diff --git a/tests/standalone/io/code_collection_test.dart b/tests/standalone/io/code_collection_test.dart
index 696be6e024d2e93222e527eb7eddccb9d74280b5..43df6f733285063a51b048a3e3853684f25470eb 100644
--- a/tests/standalone/io/code_collection_test.dart
+++ b/tests/standalone/io/code_collection_test.dart
@@ -48,7 +48,8 @@ main(List<String> arguments) {
} else {
// Run the test and capture stdout.
var pr = Process.runSync(Platform.executable,
- ["--collect-code",
+ ["--verbose-gc",
+ "--collect-code",
"--code-collection-interval-in-us=0",
"--old_gen_growth_rate=10",
"--log-code-drop",
@@ -61,6 +62,7 @@ main(List<String> arguments) {
// Code drops are logged with --log-code-drop. Look through stdout for the
// message that foo's code was dropped.
+ print(pr.stdout);
var count = 0;
pr.stdout.split("\n").forEach((line) {
if (line.contains("foo=2")) {
« 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