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

Side by Side Diff: tools/presubmit.sh

Issue 9702034: Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: junit tests fixed Created 8 years, 9 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
« no previous file with comments | « tools/generate_projects.py ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 doTest runtime vm debug 96 doTest runtime vm debug
97 RUNTIME_RESULT=$? 97 RUNTIME_RESULT=$?
98 if [ ${RUNTIME_RESULT} == 0 ] ; then 98 if [ ${RUNTIME_RESULT} == 0 ] ; then
99 echo " Release (Ctrl-C to skip this set of tests)" 99 echo " Release (Ctrl-C to skip this set of tests)"
100 doTest runtime vm release 100 doTest runtime vm release
101 RUNTIME_RESULT=$? 101 RUNTIME_RESULT=$?
102 fi 102 fi
103 103
104 104
105 echo 105 echo
106 echo "=== dartc tests ===" 106 echo "=== analysis tests ==="
107 echo " Debug mode (Ctrl-C to skip this set of tests)" 107 echo " Debug mode (Ctrl-C to skip this set of tests)"
108 doTest compiler dartc debug 108 doTest compiler dartc debug
109 DARTC_RESULT=$? 109 DARTC_RESULT=$?
110 110
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}
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 CLIENT_RESULT=${RESULT} 150 CLIENT_RESULT=${RESULT}
151 fi 151 fi
152 fi 152 fi
153 153
154 # Print summary of results 154 # Print summary of results
155 if [ ${RUNTIME_RESULT} != 0 ] ; then 155 if [ ${RUNTIME_RESULT} != 0 ] ; then
156 echo "*** vm tests failed" 156 echo "*** vm tests failed"
157 fi 157 fi
158 158
159 if [ ${DARTC_RESULT} != 0 ] ; then 159 if [ ${DARTC_RESULT} != 0 ] ; then
160 echo "*** dartc tests failed" 160 echo "*** analysis tests failed"
161 fi 161 fi
162 162
163 if [ ${FROG_RESULT} != 0 ] ; then 163 if [ ${FROG_RESULT} != 0 ] ; then
164 echo "*** frog tests failed" 164 echo "*** frog tests failed"
165 fi 165 fi
166 166
167 if [ ${CLIENT_RESULT} != 0 ] ; then 167 if [ ${CLIENT_RESULT} != 0 ] ; then
168 echo "*** client tests failed" 168 echo "*** client tests failed"
169 fi 169 fi
170 170
171 if [ ${TESTS_FAILED} == 0 ] ; then 171 if [ ${TESTS_FAILED} == 0 ] ; then
172 echo "All presubmit tests passed!" 172 echo "All presubmit tests passed!"
173 fi 173 fi
OLDNEW
« no previous file with comments | « tools/generate_projects.py ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698