History log of /external/autotest/client/common_lib/cros/webrtc_scripts/loopback-peerconnection.js
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2ff7edce3d89ed4d4bdca7046225f8ad9f3fc126 13-Sep-2017 Kristoffer Erlandsson <kerl@google.com> Disable googCpuOveruseDetection for perf tests.

To ensure there is no CPU adaption that disrupts the performance stats
we want to disable CPU overuse detection.

BUG=chromium:764229
TEST=Ran effected tests against local DUT. Verified cpu overuse flag was
picked up for performance tests on chrome://webrtc-internals.

pre-cq-configs: bluestreak-pre-cq

Change-Id: I2b87484592b693bdef3a0973ea3a7c035d2de717
Reviewed-on: https://chromium-review.googlesource.com/678874
Commit-Ready: Kristoffer Erlandsson <kerl@google.com>
Tested-by: Kristoffer Erlandsson <kerl@google.com>
Reviewed-by: Denis Tosic <dtosic@chromium.org>
/external/autotest/client/common_lib/cros/webrtc_scripts/loopback-peerconnection.js
ec2430454d35e1f57db3359ad853471cfcbfab8d 10-Sep-2017 Kristoffer Erlandsson <kerl@google.com> Allow a delta of 1px in resolution verification.

We have seen tests failing since the actual resolution is one pixel off
from the requested resolution. Hence we add support for allowing a delta
between the expected and the actual.

TEST=Ran affected tests against local DUT
BUG=chromium:763726

pre-cq-configs: bluestreak-pre-cq
Change-Id: I5451d3c668366d3069a8d1a52f754ceec8a017a5
Reviewed-on: https://chromium-review.googlesource.com/659357
Commit-Ready: Kristoffer Erlandsson <kerl@google.com>
Tested-by: Kristoffer Erlandsson <kerl@google.com>
Reviewed-by: Claes Malmnäs <malmnas@google.com>
Reviewed-by: Denis Tosic <dtosic@chromium.org>
/external/autotest/client/common_lib/cros/webrtc_scripts/loopback-peerconnection.js
7002a78182ff25a4fa9c0e4967a98e0c92c58b5f 04-Sep-2017 Kristoffer Erlandsson <kerl@google.com> Refactoring and minor fixes for more code-reuse.

Made the PausePlay and ResolutionSwitching tests use the
test_webrtc_peer_connection module to avoid repeating test boilerplate.

Added a verification method to loopback-peerconnection.js and use that
method to verify the streams are OK instead of custom logic per test.
This method accepts some bad video resolution reports, since the
SwitchResolution test incorrectly fails now in the lab since
occasionally resolutions are reported as 0x0.

Minor fixes in ResolutionSwitching and PausePlay javascripts to fix
issues brought up in reviews of the MainFeedSwitching test.

Removed the FeedTable from the pauseplay tests. There is no reason to
arrenge the feeds in a table, it just adds complexity.

Other minor changes.

BUG=chromium:760676
TEST=Ran all affected tests against local DUT

Change-Id: I2f05c527bd99f9dfa47861c1d2690b0cc4132819
Reviewed-on: https://chromium-review.googlesource.com/653957
Commit-Ready: Kristoffer Erlandsson <kerl@google.com>
Tested-by: Kristoffer Erlandsson <kerl@google.com>
Reviewed-by: Denis Tosic <dtosic@chromium.org>
/external/autotest/client/common_lib/cros/webrtc_scripts/loopback-peerconnection.js
fa226068f33dcdbb154c57118b28168db493ae46 01-Sep-2017 Kristoffer Erlandsson <kerl@google.com> Refactor PeerConnection into a separate file.

This allows us to reuse this class in other tests. The HTML file is now
generated instead of included in the test dir to allow injecting
arbitrary JavaScript files into it.

Created a utility module in common_lib/cros/webrtc_utils.py for
generating the HTML file and working with the shared JavaScript files.

Some of the boilerplate in the run_once method can hopefully be shared
later as well.

TEST=Local DUT
BUG=chromium:758120
pre-cq-configs: bluestreak-pre-cq
Change-Id: I2939fbc03a96007181138c99de88cd00962a17cb
Reviewed-on: https://chromium-review.googlesource.com/647287
Commit-Ready: Kristoffer Erlandsson <kerl@google.com>
Tested-by: Kristoffer Erlandsson <kerl@google.com>
Reviewed-by: Denis Tosic <dtosic@chromium.org>
/external/autotest/client/common_lib/cros/webrtc_scripts/loopback-peerconnection.js