Hash :
1249fc1f
Author :
Date :
2023-09-07T14:39:26
Tests: Support capture_tests on Android and enable on CI
Enables angle_with_capture_by_default = true on Android bots
similarly to Linux and Windows.
Enables the capture test on Pixel 4 and 6 bots (it takes only a few
seconds to run)
Enables support for capture in android_helper in general.
For example, this now works the same way it would on say Linux, but
runs the capture on the device an pulls files to OUT_DIR.
% ANGLE_CAPTURE_LABEL=gacha_club ANGLE_CAPTURE_OUT_DIR=/tmp/capt2 ANGLE_CAPTURE_FRAME_START=16 ANGLE_CAPTURE_FRAME_END=16 out/AndroidPerformance/angle_trace_tests --gtest_filter=TraceTest.gacha_club --use-angle=vulkan --retrace-mode --max-steps-performed=20
For end2end tests it's a bit trickier as we're still using the Chromium
wrappers for e.g. out/AndroidPerformance/angle_end2end_tests - which is
why capture_tests.py is currently using angle_android_test_runner.py
Bug: b/296397568
Change-Id: I2606e74a17c90e381bb49ec8d555a6d24851b4f7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4850889
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Roman Lavrov <romanl@google.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
# Copyright 2021 The ANGLE 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.
# This is a .pyl, or "Python Literal", file. You can treat it just like a
# .json file, with the following exceptions:
# * all keys must be quoted (use single quotes, please);
# * comments are allowed, using '#' syntax; and
# * trailing commas are allowed.
#
# For more info see Chromium's test_suite_exceptions.pyl in testing/buildbot.
{
'angle_end2end_tests': {
'modifications': {
# anglebug.com/7874 suspecting device lost caused by multiprocess
'win10-x64-exp-intel': {
'args': [
'--max-processes=1',
],
},
'win10-x64-intel': {
'args': [
'--max-processes=1',
],
},
},
},
'angle_restricted_trace_gold_tests': {
'modifications': {
# anglebug.com/5415 flaky 4x8 pixel artifacts on Win Intel
'win10-x64-exp-intel': {
'args': [
'--flaky-retries=1',
],
},
'win10-x64-intel': {
'args': [
'--flaky-retries=1',
],
},
},
},
'angle_trace_interpreter_tests': {
'remove_from': [
# TODO: Implement on Android. http://anglebug.com/7777
'android-arm64-pixel4',
],
},
'angle_white_box_tests': {
'modifications': {
# anglebug.com/7874 suspecting device lost caused by multiprocess
'win10-x64-exp-intel': {
'args': [
'--max-processes=1',
],
},
'win10-x64-intel': {
'args': [
'--max-processes=1',
],
},
},
},
}