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

Side by Side Diff: pkg/front_end/tool/fasta

Issue 2943173002: Fix frontend tests after bac83e0973f981d4b4e61e90cb7f6fb5ceb89206 (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « pkg/front_end/test/fasta/testing/suite.dart ('k') | no next file » | 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 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 set -e 6 set -e
7 7
8 REPO_DIR="$(cd ${BASH_SOURCE%/*} && git rev-parse --show-toplevel)" 8 REPO_DIR="$(cd ${BASH_SOURCE%/*} && git rev-parse --show-toplevel)"
9 9
10 DART_VM="${REPO_DIR}/sdk/bin/dart" 10 DART_VM="${REPO_DIR}/sdk/bin/dart"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 if [ "$#" != "3" ]; then 46 if [ "$#" != "3" ]; then
47 stop "Usage: $1 dillfile [output]" 47 stop "Usage: $1 dillfile [output]"
48 fi 48 fi
49 ;; 49 ;;
50 kernel-service) 50 kernel-service)
51 shift 51 shift
52 PATCHED_SDK_DIR=$( 52 PATCHED_SDK_DIR=$(
53 ls -d {xcodebuild,out}/${DART_CONFIGURATION}/patched_sdk 2>/dev/null \ 53 ls -d {xcodebuild,out}/${DART_CONFIGURATION}/patched_sdk 2>/dev/null \
54 | head -1) 54 | head -1)
55 exec "${DART_VM}" -DDFE_VERBOSE=true \ 55 exec "${DART_VM}" -DDFE_VERBOSE=true \
56 --platform=${PATCHED_SDK_DIR}/platform.dill \ 56 --kernel-binaries=${PATCHED_SDK_DIR} \
57 --dfe="${REPO_DIR}/utils/kernel-service/kernel-service.dart" "$@" 57 --dfe="${REPO_DIR}/utils/kernel-service/kernel-service.dart" "$@"
58 ;; 58 ;;
59 testing) 59 testing)
60 SCRIPT="${REPO_DIR}/pkg/testing/bin/testing.dart" 60 SCRIPT="${REPO_DIR}/pkg/testing/bin/testing.dart"
61 set -- "$@" "--config=${REPO_DIR}/pkg/front_end/test/fasta/testing.json" 61 set -- "$@" "--config=${REPO_DIR}/pkg/front_end/test/fasta/testing.json"
62 ;; 62 ;;
63 generate-messages) SCRIPT="${TOOL_DIR}/generate_messages.dart";; 63 generate-messages) SCRIPT="${TOOL_DIR}/generate_messages.dart";;
64 *) 64 *)
65 stop "'$1' isn't a valid subcommand." 65 stop "'$1' isn't a valid subcommand."
66 ;; 66 ;;
67 esac 67 esac
68 68
69 shift 69 shift
70 70
71 exec "${DART_VM}" -c "${SCRIPT}" "$@" 71 exec "${DART_VM}" -c "${SCRIPT}" "$@"
OLDNEW
« no previous file with comments | « pkg/front_end/test/fasta/testing/suite.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698