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

Unified Diff: tools/precompilation/test_linux.sh

Issue 1464933002: Don't ignore result of EnsureIsFinalized in Precompiler; update helper scripts to use dart_precompi… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: tools/precompilation/test_linux.sh
diff --git a/tools/precompilation/test_linux.sh b/tools/precompilation/test_linux.sh
index d6263b11de14cf5a630828b0577bcbe4a409db72..f5b1865ec2c2308445b3dfa91514a89325e978d8 100755
--- a/tools/precompilation/test_linux.sh
+++ b/tools/precompilation/test_linux.sh
@@ -6,8 +6,8 @@
./tools/build.py -mdebug -ax64 runtime
-./out/DebugX64/dart_no_snapshot --gen-precompiled-snapshot "$1"
+./out/DebugX64/dart_no_snapshot --gen-precompiled-snapshot --package-root=out/DebugX64/packages/ "$1"
gcc -m64 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled.S
-LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugX64/dart --run-precompiled-snapshot --observe --profile-vm not_used.dart
+LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugX64/dart_precompiled --run-precompiled-snapshot not_used.dart
Florian Schneider 2015/11/23 08:46:37 Why run inside gdb?
rmacnak 2015/11/23 17:31:13 I use these for debugging.

Powered by Google App Engine
This is Rietveld 408576698