Skip to content

Commit b862207

Browse files
authored
v8: add run_tests.sh (#13922)
1 parent 23c943f commit b862207

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

projects/v8/build.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
ARGS='is_asan = true
2020
is_component_build = false
2121
use_clang_modules = false
22-
is_debug = true
2322
symbol_level = 2
2423
forbid_non_component_debug_builds = false
2524
use_debug_fission = false
@@ -32,12 +31,12 @@ ARGS='is_asan = true
3231
treat_warnings_as_errors = false
3332
libcxx_is_shared = false
3433
v8_enable_backtrace = true
35-
v8_enable_slow_dchecks = false
36-
v8_optimized_debug = false
37-
v8_enable_fast_mksnapshot = true'
34+
v8_enable_fast_mksnapshot = false'
3835

3936
if [[ -n "${INDEXER_BUILD:-}" ]]; then
40-
ARGS="$ARGS clang_base_path=\"/opt/toolchain\""
37+
ARGS="$ARGS is_debug=true v8_optimized_debug=false v8_enable_slow_dchecks=true clang_base_path=\"/opt/toolchain\""
38+
else
39+
ARGS="$ARGS is_debug=false v8_enable_slow_dchecks=false"
4140
fi
4241

4342
# Generate ninja file for build

projects/v8/run_tests.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash -eu
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
################################################################################
17+
18+
./tools/dev/gm.py x64.release.check

0 commit comments

Comments
 (0)