OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # | 2 # |
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
6 | 6 |
7 # Compare the current working copy of the repository to either a clean copy | 7 # Compare the current working copy of the repository to either a clean copy |
8 # or the specified revision. | 8 # or the specified revision. |
9 # Along with the files created by compiler_metrics.sh, creates | 9 # Along with the files created by compiler_metrics.sh, creates |
10 # compiler_compare[_stats_[12]].log in the working direcetory and a | 10 # compiler_compare[_stats_[12]].log in the working direcetory and a |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 ../tools/build.py --mode release >> $LOG_FILE 2>&1 | 182 ../tools/build.py --mode release >> $LOG_FILE 2>&1 |
183 failTest $? "Error compiling comparison revision" | 183 failTest $? "Error compiling comparison revision" |
184 | 184 |
185 # Do the second test | 185 # Do the second test |
186 echo "Running second test against clean copy" | 186 echo "Running second test against clean copy" |
187 echo $SCRIPT_PATH/compiler_metrics.sh --stats-prefix=clean --dartc=./out/Release
_ia32/dartc $COMPARE_OPTIONS --app=$APP >> $LOG_FILE | 187 echo $SCRIPT_PATH/compiler_metrics.sh --stats-prefix=clean --dartc=./out/Release
_ia32/dartc $COMPARE_OPTIONS --app=$APP >> $LOG_FILE |
188 $SCRIPT_PATH/compiler_metrics.sh --stats-prefix=clean --dartc=./out/Release_ia32
/dartc $COMPARE_OPTIONS --app=$APP > $STAT2 | 188 $SCRIPT_PATH/compiler_metrics.sh --stats-prefix=clean --dartc=./out/Release_ia32
/dartc $COMPARE_OPTIONS --app=$APP > $STAT2 |
189 failTest $? "Error collecting statistics from clean copy" | 189 failTest $? "Error collecting statistics from clean copy" |
190 | 190 |
191 calcStats | 191 calcStats |
OLD | NEW |