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

Side by Side Diff: mojo/tools/mojob.sh

Issue 134253004: Mojo: AsyncWaiter and mojo/public/environment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing files Created 6 years, 11 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 1 #!/bin/bash
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This a simple script to make building/testing Mojo components easier (on 6 # This a simple script to make building/testing Mojo components easier (on
7 # Linux). 7 # Linux).
8 8
9 # TODO(vtl): Maybe make the test runner smart and not run unchanged test 9 # TODO(vtl): Maybe make the test runner smart and not run unchanged test
10 # binaries. 10 # binaries.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 do_build() { 43 do_build() {
44 echo "Building in out/$1 ..." 44 echo "Building in out/$1 ..."
45 ninja -C "out/$1" mojo || exit 1 45 ninja -C "out/$1" mojo || exit 1
46 } 46 }
47 47
48 do_unittests() { 48 do_unittests() {
49 echo "Running unit tests in out/$1 ..." 49 echo "Running unit tests in out/$1 ..."
50 "out/$1/mojo_common_unittests" || exit 1 50 "out/$1/mojo_common_unittests" || exit 1
51 "out/$1/mojo_js_unittests" || exit 1 51 "out/$1/mojo_js_unittests" || exit 1
52 "out/$1/mojo_public_bindings_unittests" || exit 1 52 "out/$1/mojo_public_bindings_unittests" || exit 1
53 "out/$1/mojo_public_environment_unittests" || exit 1
53 "out/$1/mojo_public_system_unittests" || exit 1 54 "out/$1/mojo_public_system_unittests" || exit 1
54 "out/$1/mojo_public_utility_unittests" || exit 1 55 "out/$1/mojo_public_utility_unittests" || exit 1
55 "out/$1/mojo_shell_unittests" || exit 1 56 "out/$1/mojo_shell_unittests" || exit 1
56 "out/$1/mojo_system_unittests" || exit 1 57 "out/$1/mojo_system_unittests" || exit 1
57 "out/$1/mojo_utility_unittests" || exit 1
58 } 58 }
59 59
60 do_perftests() { 60 do_perftests() {
61 echo "Running perf tests in out/$1 ..." 61 echo "Running perf tests in out/$1 ..."
62 "out/$1/mojo_public_system_perftests" || exit 1 62 "out/$1/mojo_public_system_perftests" || exit 1
63 } 63 }
64 64
65 do_gyp() { 65 do_gyp() {
66 local gyp_defines="$(make_gyp_defines)" 66 local gyp_defines="$(make_gyp_defines)"
67 echo "Running gyp with GYP_DEFINES=$gyp_defines ..." 67 echo "Running gyp with GYP_DEFINES=$gyp_defines ..."
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 ;; 168 ;;
169 --static) 169 --static)
170 COMPONENT=static 170 COMPONENT=static
171 ;; 171 ;;
172 *) 172 *)
173 echo "Unknown command \"${arg}\". Try \"$(basename "$0") help\"." 173 echo "Unknown command \"${arg}\". Try \"$(basename "$0") help\"."
174 exit 1 174 exit 1
175 ;; 175 ;;
176 esac 176 esac
177 done 177 done
OLDNEW
« mojo/mojo_examples.gypi ('K') | « mojo/shell/service_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698