commit | fc7cae5ca68cc6db6a45a673ac1d74a082877a40 | [log] [tgz] |
---|---|---|
author | Xixuan Wu <xixuan@chromium.org> | Wed Mar 14 23:53:12 2018 |
committer | Xixuan Wu <xixuan@chromium.org> | Thu Mar 15 18:13:50 2018 |
tree | e556b8f22b0b2942fae54f26e3f8999fd96ae6c8 | |
parent | 08a56c4174caca3f43e3fdbd5262e5b6a25be6b1 [diff] |
test_analyzer: separate running_unittests & integration tests. BUG=chromium:818020 TEST=Ran bin/run_unittests, bin/run_integration_tests. Change-Id: Ief4fba5692362fb3aa93747f8bd070e61c8fe439 Reviewed-on: https://chromium-review.googlesource.com/963547 Tested-by: Xixuan Wu <xixuan@chromium.org> Trybot-Ready: Xixuan Wu <xixuan@chromium.org> Reviewed-by: Shuhei Takahashi <nya@chromium.org> Reviewed-by: Paul Hobbs <phobbs@google.com> Commit-Queue: Xixuan Wu <xixuan@chromium.org>
Download service account service secret files:
gsutil cp -r gs://chromiumos-test-analyzer.appspot.com/credentials ./test_analyzer/
It includes 2 json files, one for prod & one for staging instance.
Install pipenv to create virtual environment for local tests:
sudo pip install pipenv
Try to run tests:
For unittest:
bin/run_unittests
For integration test:
bin/run_integration_tests