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

Side by Side Diff: tools/presubmit.sh

Issue 8341103: build.py will not accept --arch=dartc soon, so removing references and uses of --arch=dartc in th... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 echo "Change your directory to the dart trunk source" 85 echo "Change your directory to the dart trunk source"
86 exit 1 86 exit 1
87 fi 87 fi
88 88
89 echo 89 echo
90 echo "--- Building runtime ---" 90 echo "--- Building runtime ---"
91 doBuild runtime ia32 release 91 doBuild runtime ia32 release
92 92
93 echo 93 echo
94 echo "--- Building compiler ---" 94 echo "--- Building compiler ---"
95 doBuild compiler dartc debug 95 doBuild compiler ia32 debug
96 96
97 if [ ${DO_OPTIMIZE} == 1 ] ; then 97 if [ ${DO_OPTIMIZE} == 1 ] ; then
98 # echo "Syncing compiler debug build to release" 98 # echo "Syncing compiler debug build to release"
99 # rsync -a out/Debug_dartc out/Release_dartc 99 # rsync -a out/Debug_ia32 out/Release_ia32
100 doBuild compiler dartc release 100 doBuild compiler ia32 release
101 fi 101 fi
102 102
103 # TODO(zundel): Potential shortcut: don't rebuild all of dartc again. 103 # TODO(zundel): Potential shortcut: don't rebuild all of dartc again.
104 # Tried using rsync, but it doesn't work - client rebuilds anyway 104 # Tried using rsync, but it doesn't work - client rebuilds anyway
105 105
106 # Build in client dir 106 # Build in client dir
107 echo 107 echo
108 echo "--- Building client ---" 108 echo "--- Building client ---"
109 doBuild client dartc debug 109 doBuild client ia32 debug
110 110
111 if [ ${DO_OPTIMIZE} == 1 ] ; then 111 if [ ${DO_OPTIMIZE} == 1 ] ; then
112 # echo "Syncing client debug build to release" 112 # echo "Syncing client debug build to release"
113 # rsync -a out/Debug_dartc out/Release_dartc 113 # rsync -a out/Debug_ia32 out/Release_ia32
114 doBuild client dartc release 114 doBuild client ia32 release
115 fi 115 fi
116 116
117 117
118 echo 118 echo
119 echo "=== Runtime tests === " 119 echo "=== Runtime tests === "
120 doTest runtime ia32 release 120 doTest runtime ia32 release
121 RUNTIME_RESULT=$? 121 RUNTIME_RESULT=$?
122 122
123 123
124 echo 124 echo
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 echo "*** Compiler tests failed" 169 echo "*** Compiler tests failed"
170 fi 170 fi
171 171
172 if [ ${CLIENT_RESULT} != 0 ] ; then 172 if [ ${CLIENT_RESULT} != 0 ] ; then
173 echo "*** Client tests failed" 173 echo "*** Client tests failed"
174 fi 174 fi
175 175
176 if [ ${TESTS_FAILED} == 0 ] ; then 176 if [ ${TESTS_FAILED} == 0 ] ; then
177 echo "All presubmit tests passed!" 177 echo "All presubmit tests passed!"
178 fi 178 fi
OLDNEW
« samples/chat/README ('K') | « tools/make_bundle.py ('k') | tools/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698