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

Unified Diff: tests/standalone/precompilation_dart2js_test.dart

Issue 1844233002: Add diagnostic printing to standalone/precompilation_test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | tests/standalone/precompilation_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/precompilation_dart2js_test.dart
diff --git a/tests/standalone/precompilation_dart2js_test.dart b/tests/standalone/precompilation_dart2js_test.dart
index b96472661642c328fc903e88009bac09a180a67d..29810d5a2f863381cbf1bf91ed33e6203d66bed1 100644
--- a/tests/standalone/precompilation_dart2js_test.dart
+++ b/tests/standalone/precompilation_dart2js_test.dart
@@ -43,6 +43,7 @@ main(List args) {
return;
}
+ print("Creating precompiled snapshot...");
var abs_package_root = Uri.parse(Platform.packageRoot).toFilePath();
var dart_executable =
Directory.current.path + Platform.pathSeparator + Platform.executable;
@@ -62,6 +63,7 @@ main(List args) {
}
// Check if gcc is present, and skip test if it is not.
+ print("Creating shared library...");
try {
result = Process.runSync(
cc,
@@ -85,6 +87,7 @@ main(List args) {
throw "Shared library creation failed!";
}
+ print("Running test program...");
var ld_library_path = new String.fromEnvironment("LD_LIBRARY_PATH");
ld_library_path = "${ld_library_path}:${tmp.path}";
exec = "${dart_executable}_precompiled_runtime";
« no previous file with comments | « no previous file | tests/standalone/precompilation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698