OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 the V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("../gni/isolate.gni") |
| 6 |
| 7 group("gn_all") { |
| 8 testonly = true |
| 9 |
| 10 deps = [ |
| 11 ":default_tests", |
| 12 ] |
| 13 |
| 14 if (host_os != "mac" || !is_android) { |
| 15 # These items don't compile for Android on Mac. |
| 16 deps += [ |
| 17 "cctest:cctest", |
| 18 "unittests:unittests", |
| 19 ] |
| 20 } |
| 21 |
| 22 if (v8_test_isolation_mode != "noop") { |
| 23 deps += [ |
| 24 ":bot_default_run", |
| 25 ":benchmarks_run", |
| 26 ":default_run", |
| 27 ":mozilla_run", |
| 28 ":simdjs_run", |
| 29 ":test262_run", |
| 30 ] |
| 31 } |
| 32 } |
| 33 |
| 34 ############################################################################### |
| 35 # Test groups |
| 36 # |
| 37 |
| 38 group("default_tests") { |
| 39 testonly = true |
| 40 |
| 41 if (v8_test_isolation_mode != "noop") { |
| 42 deps = [ |
| 43 ":cctest_run", |
| 44 ":fuzzer_run", |
| 45 ":intl_run", |
| 46 ":message_run", |
| 47 ":mjsunit_run", |
| 48 ":preparser_run", |
| 49 ":unittests_run", |
| 50 ] |
| 51 } |
| 52 } |
| 53 |
| 54 v8_isolate_run("bot_default") { |
| 55 deps = [ |
| 56 ":default_tests", |
| 57 ":webkit_run", |
| 58 ] |
| 59 |
| 60 isolate = "bot_default.isolate" |
| 61 } |
| 62 |
| 63 v8_isolate_run("default") { |
| 64 deps = [ |
| 65 ":default_tests", |
| 66 ] |
| 67 |
| 68 isolate = "default.isolate" |
| 69 } |
| 70 |
| 71 v8_isolate_run("ignition") { |
| 72 deps = [ |
| 73 ":cctest_run", |
| 74 ":mjsunit_run", |
| 75 ] |
| 76 |
| 77 isolate = "ignition.isolate" |
| 78 } |
| 79 |
| 80 v8_isolate_run("optimize_for_size") { |
| 81 deps = [ |
| 82 ":cctest_run", |
| 83 ":intl_run", |
| 84 ":mjsunit_run", |
| 85 ":webkit_run", |
| 86 ] |
| 87 |
| 88 isolate = "optimize_for_size.isolate" |
| 89 } |
| 90 |
| 91 v8_isolate_run("perf") { |
| 92 deps = [ |
| 93 ":cctest_exe_run", |
| 94 "..:d8_run", |
| 95 ] |
| 96 |
| 97 isolate = "perf.isolate" |
| 98 } |
| 99 |
| 100 ############################################################################### |
| 101 # Subtests |
| 102 # |
| 103 |
| 104 v8_isolate_run("benchmarks") { |
| 105 deps = [ |
| 106 "..:d8_run", |
| 107 ] |
| 108 |
| 109 isolate = "benchmarks/benchmarks.isolate" |
| 110 } |
| 111 |
| 112 v8_isolate_run("cctest") { |
| 113 deps = [ |
| 114 ":cctest_exe_run", |
| 115 ] |
| 116 |
| 117 isolate = "cctest/cctest.isolate" |
| 118 } |
| 119 |
| 120 v8_isolate_run("cctest_exe") { |
| 121 deps = [ |
| 122 "cctest:cctest", |
| 123 ] |
| 124 |
| 125 isolate = "cctest/cctest_exe.isolate" |
| 126 } |
| 127 |
| 128 v8_isolate_run("fuzzer") { |
| 129 deps = [ |
| 130 "..:v8_simple_json_fuzzer", |
| 131 "..:v8_simple_parser_fuzzer", |
| 132 "..:v8_simple_regexp_fuzzer", |
| 133 "..:v8_simple_wasm_fuzzer", |
| 134 "..:v8_simple_wasm_asmjs_fuzzer", |
| 135 ] |
| 136 |
| 137 isolate = "fuzzer/fuzzer.isolate" |
| 138 } |
| 139 |
| 140 v8_isolate_run("intl") { |
| 141 deps = [ |
| 142 "..:d8_run", |
| 143 ] |
| 144 |
| 145 isolate = "intl/intl.isolate" |
| 146 } |
| 147 |
| 148 v8_isolate_run("message") { |
| 149 deps = [ |
| 150 "..:d8_run", |
| 151 ] |
| 152 |
| 153 isolate = "message/message.isolate" |
| 154 } |
| 155 |
| 156 v8_isolate_run("mjsunit") { |
| 157 deps = [ |
| 158 "..:d8_run", |
| 159 ] |
| 160 |
| 161 isolate = "mjsunit/mjsunit.isolate" |
| 162 } |
| 163 |
| 164 v8_isolate_run("mozilla") { |
| 165 deps = [ |
| 166 "..:d8_run", |
| 167 ] |
| 168 |
| 169 isolate = "mozilla/mozilla.isolate" |
| 170 } |
| 171 |
| 172 v8_isolate_run("preparser") { |
| 173 deps = [ |
| 174 "..:d8_run", |
| 175 ] |
| 176 |
| 177 isolate = "preparser/preparser.isolate" |
| 178 } |
| 179 |
| 180 v8_isolate_run("simdjs") { |
| 181 deps = [ |
| 182 "..:d8_run", |
| 183 ] |
| 184 |
| 185 isolate = "simdjs/simdjs.isolate" |
| 186 } |
| 187 |
| 188 v8_isolate_run("test262") { |
| 189 deps = [ |
| 190 "..:d8_run", |
| 191 ] |
| 192 |
| 193 isolate = "test262/test262.isolate" |
| 194 } |
| 195 |
| 196 v8_isolate_run("unittests") { |
| 197 deps = [ |
| 198 "unittests:unittests", |
| 199 ] |
| 200 |
| 201 isolate = "unittests/unittests.isolate" |
| 202 } |
| 203 |
| 204 v8_isolate_run("webkit") { |
| 205 deps = [ |
| 206 "..:d8_run", |
| 207 ] |
| 208 |
| 209 isolate = "webkit/webkit.isolate" |
| 210 } |
OLD | NEW |