Hash :
46ff02f8
Author :
Date :
2023-05-18T13:52:29
Capture/Replay: Initial setup for angle_capture_tests Implements the first part (FrameCapture) of the proposal go/frame-capture-and-interpreter-testing Adds a basic test (CapturedTest) with a few frames. This test gets captured by capture_tests.py into a temporary directory and the resulting files are diff'ed with the files under expected/ A diff fails the test. When capture changes, the workflow would be to run the command indicated by the error message in the test which will overwrite the files with new ones so that they can be added to the CL. Example test failure on capture change: https://chromium-swarm.appspot.com/task?id=62b5f4034527c610 when testing https://crrev.com/c/4598046/3 Tests in CI: https://screenshot.googleplex.com/77o8vZVuj8AbFRj Also adds a "angle_capture_tests_trace" lib with the trace just to test that this capture also builds, the lib is not currently loaded by anything. Bug: b/286067106 Change-Id: I7d5f6eed088d84f9e3eb8a72b24b1d92515fff38 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4545408 Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Roman Lavrov <romanl@google.com> Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
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 66 67 68 69 70 71 72
# 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_capture_tests': {
'remove_from': [
# TODO(b/286067106): Not implemented on Android
'android-arm64-pixel4',
],
},
'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',
],
},
},
},
}