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

Side by Side Diff: compiler/scripts/dartc_run.sh

Issue 8223005: remove TestRunner and revector callers to DartRunner (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Get rid of TestRunner Created 9 years, 2 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 --posix 1 #!/bin/bash --posix
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 # Prevent problems where the caller has exported CLASSPATH, causing our 8 # Prevent problems where the caller has exported CLASSPATH, causing our
9 # computed value to be copied into the environment and double-counted 9 # computed value to be copied into the environment and double-counted
10 # against the argv limit. 10 # against the argv limit.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 if [ "$JVM_DEBUG_PORT" != "" ]; then 48 if [ "$JVM_DEBUG_PORT" != "" ]; then
49 JVM_DEBUG_SUSPEND=${DEFAULT_JVM_DEBUG_SUSPEND:-"y"} 49 JVM_DEBUG_SUSPEND=${DEFAULT_JVM_DEBUG_SUSPEND:-"y"}
50 JVM_DEBUG_FLAGS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=${JVM_DEB UG_SUSPEND},address=${JVM_DEBUG_PORT}" 50 JVM_DEBUG_FLAGS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=${JVM_DEB UG_SUSPEND},address=${JVM_DEBUG_PORT}"
51 fi 51 fi
52 52
53 shopt -s execfail # Return control to this script if exec fails. 53 shopt -s execfail # Return control to this script if exec fails.
54 exec $JAVABIN -ea -classpath @CLASSPATH@ \ 54 exec $JAVABIN -ea -classpath @CLASSPATH@ \
55 ${JVM_DEBUG_FLAGS} \ 55 ${JVM_DEBUG_FLAGS} \
56 ${JVM_FLAGS} \ 56 ${JVM_FLAGS} \
57 ${JVM_FLAGS_CMDLINE} \ 57 ${JVM_FLAGS_CMDLINE} \
58 com.google.dart.runner.TestRunner \ 58 com.google.dart.runner.DartRunner \
59 $DARTC_FLAGS \ 59 $DARTC_FLAGS \
60 "$@" 60 "$@"
61 61
62 echo "ERROR: couldn't exec ${JAVABIN}." 1>&2 62 echo "ERROR: couldn't exec ${JAVABIN}." 1>&2
63 63
64 exit 1 64 exit 1
OLDNEW
« no previous file with comments | « compiler/javatests/com/google/dart/runner/TestRunnerTest.java ('k') | compiler/scripts/dartc_test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698