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

Side by Side Diff: cc/cc_unittests.isolate

Issue 895923002: Support MSan/TSan in test isolation and test_env.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix error Created 5 years, 10 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 | « build/isolate.gypi ('k') | chrome/browser_tests.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'conditions': [ 5 'conditions': [
6 ['OS=="linux" or OS=="mac" or OS=="win"', { 6 ['OS=="linux" or OS=="mac" or OS=="win"', {
7 'variables': { 7 'variables': {
8 'files': [ 8 'files': [
9 'test/data/', 9 'test/data/',
10 '../testing/test_env.py', 10 '../testing/test_env.py',
11 '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)', 11 '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)',
12 ], 12 ],
13 }, 13 },
14 }], 14 }],
15 ['OS=="linux"', { 15 ['OS=="linux"', {
16 'variables': { 16 'variables': {
17 'command': [ 17 'command': [
18 '../testing/xvfb.py', 18 '../testing/xvfb.py',
19 '<(PRODUCT_DIR)', 19 '<(PRODUCT_DIR)',
20 '<(PRODUCT_DIR)/cc_unittests', 20 '<(PRODUCT_DIR)/cc_unittests',
21 '--brave-new-test-launcher', 21 '--brave-new-test-launcher',
22 '--test-launcher-bot-mode', 22 '--test-launcher-bot-mode',
23 '--asan=<(asan)', 23 '--asan=<(asan)',
24 '--lsan=<(lsan)', 24 '--lsan=<(lsan)',
25 '--msan=<(msan)',
26 '--tsan=<(tsan)',
25 ], 27 ],
26 'files': [ 28 'files': [
27 '../testing/xvfb.py', 29 '../testing/xvfb.py',
28 '<(PRODUCT_DIR)/libffmpegsumo.so', 30 '<(PRODUCT_DIR)/libffmpegsumo.so',
29 '<(PRODUCT_DIR)/libosmesa.so', 31 '<(PRODUCT_DIR)/libosmesa.so',
30 ], 32 ],
31 }, 33 },
32 }], 34 }],
33 ['OS=="linux" and use_ozone==0', { 35 ['OS=="linux" and use_ozone==0', {
34 'variables': { 36 'variables': {
35 'files': [ 37 'files': [
36 '<(PRODUCT_DIR)/xdisplaycheck', 38 '<(PRODUCT_DIR)/xdisplaycheck',
37 ], 39 ],
38 }, 40 },
39 }], 41 }],
40 ['OS=="mac"', { 42 ['OS=="mac"', {
41 'variables': { 43 'variables': {
42 'command': [ 44 'command': [
43 '../testing/test_env.py', 45 '../testing/test_env.py',
44 '<(PRODUCT_DIR)/cc_unittests', 46 '<(PRODUCT_DIR)/cc_unittests',
45 '--brave-new-test-launcher', 47 '--brave-new-test-launcher',
46 '--test-launcher-bot-mode', 48 '--test-launcher-bot-mode',
47 '--asan=<(asan)', 49 '--asan=<(asan)',
48 '--lsan=<(lsan)', 50 '--lsan=<(lsan)',
51 '--msan=<(msan)',
52 '--tsan=<(tsan)',
49 ], 53 ],
50 'files': [ 54 'files': [
51 '<(PRODUCT_DIR)/ffmpegsumo.so', 55 '<(PRODUCT_DIR)/ffmpegsumo.so',
52 '<(PRODUCT_DIR)/osmesa.so', 56 '<(PRODUCT_DIR)/osmesa.so',
53 ], 57 ],
54 }, 58 },
55 }], 59 }],
56 ['OS=="win"', { 60 ['OS=="win"', {
57 'variables': { 61 'variables': {
58 'command': [ 62 'command': [
59 '../testing/test_env.py', 63 '../testing/test_env.py',
60 '<(PRODUCT_DIR)/cc_unittests.exe', 64 '<(PRODUCT_DIR)/cc_unittests.exe',
61 '--brave-new-test-launcher', 65 '--brave-new-test-launcher',
62 '--test-launcher-bot-mode', 66 '--test-launcher-bot-mode',
63 '--asan=<(asan)', 67 '--asan=<(asan)',
64 '--lsan=<(lsan)', 68 '--lsan=<(lsan)',
69 '--msan=<(msan)',
70 '--tsan=<(tsan)',
65 ], 71 ],
66 'files': [ 72 'files': [
67 '<(PRODUCT_DIR)/ffmpegsumo.dll', 73 '<(PRODUCT_DIR)/ffmpegsumo.dll',
68 '<(PRODUCT_DIR)/osmesa.dll', 74 '<(PRODUCT_DIR)/osmesa.dll',
69 ], 75 ],
70 }, 76 },
71 }], 77 }],
72 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 78 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
73 'variables': { 79 'variables': {
74 'files': [ 80 'files': [
75 '<(PRODUCT_DIR)/cc_unittests.exe.pdb', 81 '<(PRODUCT_DIR)/cc_unittests.exe.pdb',
76 ], 82 ],
77 }, 83 },
78 }], 84 }],
79 ], 85 ],
80 'includes': [ 86 'includes': [
81 '../base/base.isolate', 87 '../base/base.isolate',
82 ], 88 ],
83 } 89 }
OLDNEW
« no previous file with comments | « build/isolate.gypi ('k') | chrome/browser_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698