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

Side by Side Diff: pkg/compiler/tool/status_files/update_all.sh

Issue 2996893002: Allow passing a suite argument to the update script (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | 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 #!/usr/bin/env bash 1 #!/usr/bin/env 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 # Script to update the dart2js status lines for all tests running with the 6 # Script to update the dart2js status lines for all tests running with the
7 # $dart2js_with_kernel test configuration. 7 # $dart2js_with_kernel test configuration.
8 8
9 repodir=$(cd $(dirname ${BASH_SOURCE[0]})/../../../../; pwd) 9 repodir=$(cd $(dirname ${BASH_SOURCE[0]})/../../../../; pwd)
10 dart="out/ReleaseX64/dart" 10 dart="out/ReleaseX64/dart"
(...skipping 14 matching lines...) Expand all
25 echo " - host-checked tests" 25 echo " - host-checked tests"
26 ./tools/test.py -m release -c dart2js -r d8 --dart2js-batch --host-checked \ 26 ./tools/test.py -m release -c dart2js -r d8 --dart2js-batch --host-checked \
27 --dart2js-options="--library-root=$sdk" --dart2js-with-kernel \ 27 --dart2js-options="--library-root=$sdk" --dart2js-with-kernel \
28 $suite > $tmp/$suite-checked.txt 28 $suite > $tmp/$suite-checked.txt
29 $dart $update_script checked $tmp/$suite-checked.txt 29 $dart $update_script checked $tmp/$suite-checked.txt
30 } 30 }
31 31
32 32
33 pushd $repodir > /dev/null 33 pushd $repodir > /dev/null
34 ./tools/build.py -m release create_sdk 34 ./tools/build.py -m release create_sdk
35 update_suite dart2js_native 35
36 update_suite dart2js_extra 36 if [[ $# -ge 1 ]]; then
37 update_suite language 37 update_suite $1
38 update_suite language_2 38 else
39 update_suite corelib 39 update_suite dart2js_native
40 update_suite corelib_2 40 update_suite dart2js_extra
41 update_suite language
42 update_suite language_2
43 update_suite corelib
44 update_suite corelib_2
45 fi
41 46
42 rm -rf $tmp 47 rm -rf $tmp
43 popd > /dev/null 48 popd > /dev/null
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698