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

Side by Side Diff: tools/presubmit.sh

Issue 10854232: Continue removal of frog. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7
8 # A quick check over a subset the tests in the runtime, compiler 8 # A quick check over a subset the tests in the runtime, compiler
9 # and client directories. 9 # and client directories.
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 if [ ${DO_OPTIMIZE} == 1 ] ; then 111 if [ ${DO_OPTIMIZE} == 1 ] ; then
112 echo " Release mode (--optimize)" 112 echo " Release mode (--optimize)"
113 doTest compiler dartc release 113 doTest compiler dartc release
114 RESULT=$? 114 RESULT=$?
115 if [ ${RESULT} != 0 ] ; then 115 if [ ${RESULT} != 0 ] ; then
116 DARTC_RESULT=${RESULT} 116 DARTC_RESULT=${RESULT}
117 fi 117 fi
118 fi 118 fi
119 119
120 echo 120 echo
121 echo "=== frog tests ==="
122 cd frog
123 ./presubmit.py
124 FROG_RESULT=$?
125 if [ ${FROG_RESULT} != 0 ] ; then
126 TESTS_FAILED=1
127 fi
128 cd -
129
130 echo
131 echo "=== Client tests ===" 121 echo "=== Client tests ==="
132 echo " Chromium (Ctrl-C to skip this set of tests)" 122 echo " Chromium (Ctrl-C to skip this set of tests)"
133 doTest client chromium debug 123 doTest client chromium debug
134 CLIENT_RESULT=$? 124 CLIENT_RESULT=$?
135 125
136 if [ ${DO_OPTIMIZE} == 1 ] ; then 126 if [ ${DO_OPTIMIZE} == 1 ] ; then
137 echo " Chromium Release mode (--optimize)" 127 echo " Chromium Release mode (--optimize)"
138 doTest compiler chromium release 128 doTest compiler chromium release
139 RESULT=$? 129 RESULT=$?
140 if [ ${RESULT} != 0 ] ; then 130 if [ ${RESULT} != 0 ] ; then
(...skipping 12 matching lines...) Expand all
153 143
154 # Print summary of results 144 # Print summary of results
155 if [ ${RUNTIME_RESULT} != 0 ] ; then 145 if [ ${RUNTIME_RESULT} != 0 ] ; then
156 echo "*** vm tests failed" 146 echo "*** vm tests failed"
157 fi 147 fi
158 148
159 if [ ${DARTC_RESULT} != 0 ] ; then 149 if [ ${DARTC_RESULT} != 0 ] ; then
160 echo "*** dartc tests failed" 150 echo "*** dartc tests failed"
161 fi 151 fi
162 152
163 if [ ${FROG_RESULT} != 0 ] ; then
164 echo "*** frog tests failed"
165 fi
166
167 if [ ${CLIENT_RESULT} != 0 ] ; then 153 if [ ${CLIENT_RESULT} != 0 ] ; then
168 echo "*** client tests failed" 154 echo "*** client tests failed"
169 fi 155 fi
170 156
171 if [ ${TESTS_FAILED} == 0 ] ; then 157 if [ ${TESTS_FAILED} == 0 ] ; then
172 echo "All presubmit tests passed!" 158 echo "All presubmit tests passed!"
173 fi 159 fi
OLDNEW
« tools/create_sdk.py ('K') | « tools/create_sdk.py ('k') | tools/test-runtime.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698