| 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";
|
|
|