diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 14:39:56 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 14:39:56 +0000 |
commit | 0197164094381f924a981b23ba7adebea908e715 (patch) | |
tree | 7365afa2dc485c11c197b53d07e55b7956057a33 /build | |
parent | b994578429ce08ec04e45648451a4758a66ed5b7 (diff) | |
download | chromium_src-0197164094381f924a981b23ba7adebea908e715.zip chromium_src-0197164094381f924a981b23ba7adebea908e715.tar.gz chromium_src-0197164094381f924a981b23ba7adebea908e715.tar.bz2 |
Add target base_unittests_run and tools/isolate/isolate.py.
This target uses isolate.py to run the unit test in a separate directory.
BUG=98636
TEST=
Review URL: http://codereview.chromium.org/9513003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index a27bfcf..1eaa78a 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -290,6 +290,14 @@ # with one of those tools. 'build_for_tool%': '', + # Whether tests targets should be run, archived or just have the + # dependencies verified. All the tests targets have the '_run' suffix, + # e.g. base_unittests_run runs the target base_unittests. The test target + # always calls tools/isolate/isolate.py. See the script's --help for more + # information and the valid --mode values. Meant to be overriden with + # GYP_DEFINES. + 'tests_run%': 'check', + 'conditions': [ # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of # the 'conditions' clause. Initial attempts resulted in chromium and @@ -486,6 +494,8 @@ 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', + 'tests_run%': '<(tests_run)', + # Whether to build for Wayland display server 'use_wayland%': 0, |