commit | 69199ff6df1e5695a767f13b27718155ddee38e2 | [log] [tgz] |
---|---|---|
author | En-Shuo Hsu <enshuo@chromium.org> | Sat Dec 21 05:51:39 2019 +0000 |
committer | En-Shuo Hsu <enshuo@chromium.org> | Sat Dec 21 05:52:11 2019 +0000 |
tree | 9db8a6d379262315f998a7545f60429d0f63090a | |
parent | c85bbe91735c4820899616b5c31693ea0f8d1b15 [diff] |
Revert "Reland "[autotest] Consolidate the dump audio diagnostics helper func"" This reverts commit ccc3c8c9396ea3352701ca145c30cbdb3a649577. Reason for revert: <INSERT REASONING HERE> Original change's description: > Reland "[autotest] Consolidate the dump audio diagnostics helper func" > > This is a reland of d4c5c86d0ae4f382cfed02669cb9a010937cf3c8 > > Fix the wrong dump_diagnostics to dump_audio_diagnostics in > audio_facade_native.py. > > Original change's description: > > [autotest] Consolidate the dump audio diagnostics helper func > > > > This change is a clean up to remove duplicate and legacy codes. > > Removing the log_loopback_dongle_status as we have the loopback latency > > check in the audio_LoopbackLatency tests. We can add the jack status > > check into it if needed. > > > > BUG=b/142701772 > > TEST=Manual verify all modified tests > > > > Change-Id: I8b0b49baade44438ec069259088221ba671e3798 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1862360 > > Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org> > > Tested-by: En-Shuo Hsu <enshuo@chromium.org> > > Commit-Queue: En-Shuo Hsu <enshuo@chromium.org> > > Bug=b/142701772, b/146472345 > TEST=Run audio_AudioBasicInternalSpeaker that use dump_diagnostic > Change-Id: I4d410afd22111b0e0245e798bf4a343a67678765 > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1973294 > Tested-by: En-Shuo Hsu <enshuo@chromium.org> > Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org> > Commit-Queue: En-Shuo Hsu <enshuo@chromium.org> Change-Id: Ie2502fc12bbe4598192118590e1f34d3d064e3f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1978127 Reviewed-by: En-Shuo Hsu <enshuo@chromium.org> Tested-by: En-Shuo Hsu <enshuo@chromium.org>
Autotest is a framework for fully automated testing. It was originally designed to test the Linux kernel, and expanded by the Chrome OS team to validate complete system images of Chrome OS and Android.
Autotest is composed of a number of modules that will help you to do stand alone tests or setup a fully automated test grid, depending on what you are up to. A non extensive list of functionality is:
A body of code to run tests on the device under test. In this setup, test logic executes on the machine being tested, and results are written to files for later collection from a development machine or lab infrastructure.
A body of code to run tests against a remote device under test. In this setup, test logic executes on a development machine or piece of lab infrastructure, and the device under test is controlled remotely via SSH/adb/some combination of the above.
Developer tools to execute one or more tests. test_that
for Chrome OS and test_droid
for Android allow developers to run tests against a device connected to their development machine on their desk. These tools are written so that the same test logic that runs in the lab will run at their desk, reducing the number of configurations under which tests are run.
Lab infrastructure to automate the running of tests. This infrastructure is capable of managing and running tests against thousands of devices in various lab environments. This includes code for both synchronous and asynchronous scheduling of tests. Tests are run against this hardware daily to validate every build of Chrome OS.
Infrastructure to set up miniature replicas of a full lab. A full lab does entail a certain amount of administrative work which isn't appropriate for a work group interested in automated tests against a small set of devices. Since this scale is common during device bringup, a special setup, called Moblab, allows a natural progressing from desk -> mini lab -> full lab.
See the guides to test_that
and test_droid
:
See the best practices guide, existing tests, and comments in the code.
git clone https://chromium.googlesource.com/chromiumos/third_party/autotest
See the coding style guide for guidance on submitting patches.
You need to run utils/build_externals.py
to set up the dependencies for pre-upload hook tests.