summaryrefslogtreecommitdiffstats
path: root/base/base_unittests.isolate
diff options
context:
space:
mode:
Diffstat (limited to 'base/base_unittests.isolate')
-rw-r--r--base/base_unittests.isolate32
1 files changed, 19 insertions, 13 deletions
diff --git a/base/base_unittests.isolate b/base/base_unittests.isolate
index 26f4c2b..f561d20 100644
--- a/base/base_unittests.isolate
+++ b/base/base_unittests.isolate
@@ -10,19 +10,7 @@
],
},
}],
- ['use_x11==0', {
- 'variables': {
- 'command': [
- '../testing/test_env.py',
- '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
- '--brave-new-test-launcher',
- '--test-launcher-bot-mode',
- '--asan=<(asan)',
- '--lsan=<(lsan)',
- ],
- },
- }],
- ['use_x11==1', {
+ ['OS=="linux"', {
'variables': {
'command': [
'../testing/xvfb.py',
@@ -35,6 +23,12 @@
],
'files': [
'../testing/xvfb.py',
+ ],
+ },
+ }],
+ ['OS=="linux" and use_ozone==0', {
+ 'variables': {
+ 'files': [
'<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
],
},
@@ -48,6 +42,18 @@
'read_only': 1,
},
}],
+ ['OS=="mac" or OS=="win"', {
+ 'variables': {
+ 'command': [
+ '../testing/test_env.py',
+ '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
+ '--brave-new-test-launcher',
+ '--test-launcher-bot-mode',
+ '--asan=<(asan)',
+ '--lsan=<(lsan)',
+ ],
+ },
+ }],
['OS=="win" and (fastbuild==0 or fastbuild==1)', {
'variables': {
'files': [