b2537f219d
This is a reland of 4c0943424c
Original change's description:
> [test] Add logic to run tests on Android
>
> This adds a new command abstraction for running commands on Android
> using dockered devices on swarming.
>
> The new abstraction handles pushing all required files to the device.
> The logic used for pushing and running is reused from the perf runner.
>
> This adds only the mjsunit test suite. Others will be handled in
> follow up CLs. The suite logic is enhanced with auto-detection of files
> to be pushed to devices, for e.g. load or import statements.
>
> Some test cases need an extra resource section for specifying required
> files.
>
> Remaining failing tests are marked in the status files for later
> triage.
>
> Bug: chromium:866862
> Change-Id: I2b957559f07fdcd8c1bd2f7034f5ba7754a31fb7
> Reviewed-on: https://chromium-review.googlesource.com/1150153
> Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
> Commit-Queue: Michael Achenbach <machenbach@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#55041}
Bug: chromium:866862
Change-Id: Icf7e04c75d4abeab7254d10ba21240e46b0022ae
Reviewed-on: https://chromium-review.googlesource.com/1170643
Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55059}
65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
# Copyright 2016 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/config/sanitizers/sanitizers.gni")
|
|
import("../gni/v8.gni")
|
|
|
|
group("gn_all") {
|
|
testonly = true
|
|
|
|
data_deps = [
|
|
":v8_check_static_initializers",
|
|
"gcmole:v8_run_gcmole",
|
|
"jsfunfuzz:v8_jsfunfuzz",
|
|
]
|
|
}
|
|
|
|
group("v8_check_static_initializers") {
|
|
data_deps = [
|
|
"..:d8",
|
|
]
|
|
|
|
data = [
|
|
"check-static-initializers.sh",
|
|
]
|
|
}
|
|
|
|
group("v8_android_test_runner_deps") {
|
|
testonly = true
|
|
|
|
if (is_android && !build_with_chromium) {
|
|
data_deps = [
|
|
"../build/android:test_runner_py",
|
|
]
|
|
data = [
|
|
# This is used by android.py, but not included by test_runner_py above.
|
|
"../third_party/catapult/devil/devil/android/perf/",
|
|
]
|
|
}
|
|
}
|
|
|
|
group("v8_testrunner") {
|
|
testonly = true
|
|
|
|
data_deps = [
|
|
"..:v8_dump_build_config",
|
|
":v8_android_test_runner_deps",
|
|
]
|
|
|
|
data = [
|
|
# Also add the num-fuzzer wrapper script in order to be able to run the
|
|
# num-fuzzer on all existing isolated V8 test suites.
|
|
"run-num-fuzzer.py",
|
|
"run-tests.py",
|
|
"testrunner/",
|
|
]
|
|
|
|
if (v8_code_coverage && sanitizer_coverage_flags == "bb,trace-pc-guard") {
|
|
data += [
|
|
"sanitizers/sancov_merger.py",
|
|
"../third_party/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/sancov.py",
|
|
]
|
|
}
|
|
}
|