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

Unified Diff: compiler/scripts/analyzer_series_test.sh

Issue 9950019: Renamed the 'dartc' launch script to 'dart-analysis' and adds it to dart-sdk (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged up to tip of trunk, incorporated scheglov's feedback Created 8 years, 8 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
Index: compiler/scripts/analyzer_series_test.sh
diff --git a/compiler/scripts/compiler_series_test.sh b/compiler/scripts/analyzer_series_test.sh
old mode 100755
new mode 100644
similarity index 92%
rename from compiler/scripts/compiler_series_test.sh
rename to compiler/scripts/analyzer_series_test.sh
index ede9e2c0c71efcdb9599b2b13625ab515e903d9c..cd6ca4b1da9e3dda1e4fa8e39d61dfe00df9050e
--- a/compiler/scripts/compiler_series_test.sh
+++ b/compiler/scripts/analyzer_series_test.sh
@@ -158,8 +158,8 @@ function failStats() {
function compileRevision() {
REVISION=$1
- PREBUILT_DIR=$ROOT_OF_REPO/compiler/revs/$REVISION/prebuilt
- PREBUILT_BIN=$PREBUILT_DIR/compiler/bin/dartc
+ PREBUILT_DIR=$ROOT_OF_REPO/analyzer/revs/$REVISION/prebuilt
+ PREBUILT_BIN=$PREBUILT_DIR/analyzer/bin/dart_analyzer
if [ ! -x $PREBUILT_BIN ]; then
echo "No prebuilt, building and caching"
echo "Checking out clean version of $REVISION; will take some time. Look at $LOG_FILE for progress"
@@ -170,7 +170,7 @@ function compileRevision() {
echo "Run hooks"
gclient runhooks >> $LOG_FILE 2>&1
- echo "Compiling clean version of dartc; may take some time"
+ echo "Compiling clean version of dart_analyzer; may take some time"
date
cd compiler
../tools/build.py --mode release >> $LOG_FILE 2>&1
@@ -198,10 +198,10 @@ function compileRevision() {
fi
# Do the second test
- echo "Running test with dartc $REVISION!"
+ echo "Running test with dart_analyzer $REVISION!"
date
- echo $SCRIPT_PATH/compiler_metrics.sh --stats-prefix=$REVISION --dartc=$PREBUILT_DIR/compiler/bin/dartc $COMPARE_OPTIONS >> $LOG_FILE 2>&1
- $SCRIPT_PATH/compiler_metrics.sh --stats-prefix=$REVISION --dartc=$PREBUILT_DIR/compiler/bin/dartc $COMPARE_OPTIONS > $STAT1
+ echo $SCRIPT_PATH/compiler_metrics.sh --stats-prefix=$REVISION --analyzer=$PREBUILT_DIR/analyzer/bin/dart_analyzer $COMPARE_OPTIONS >> $LOG_FILE 2>&1
+ $SCRIPT_PATH/dart_analyzer.sh --stats-prefix=$REVISION --analyzer=$PREBUILT_DIR/analyzer/bin/dart_analzyer $COMPARE_OPTIONS > $STAT1
scheglov 2012/04/11 19:51:59 analzyer -> analyzer
zundel 2012/04/17 10:00:41 Done.
if [ ! $? -eq 0 ]; then
echo "error sampling"
failStats $REVISION

Powered by Google App Engine
This is Rietveld 408576698