Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: webrtc/tools/testing/README.md

Issue 2882073003: Update testing tools (AppRTC, Go) to new versions (Closed)
Patch Set: Move readme Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/examples/androidtests/video_quality_loopback_test.py ('k') | webrtc/tools/testing/build_apprtc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/testing/README.md
diff --git a/webrtc/tools/testing/README.md b/webrtc/tools/testing/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..9068b5bfd3ceb0d53f7a823e379cb2344374370e
--- /dev/null
+++ b/webrtc/tools/testing/README.md
@@ -0,0 +1,38 @@
+This directory contains prebuilt tools used during end-to-end tests.
+They will be downloaded by their SHA1 hash, and are not meant to be checked in.
+
+Updating prebuilt_apprtc.zip:
+
+- Follow AppRTC instructions:
+ - `git clone https://github.com/webrtc/apprtc`
+ - Install NodeJS:
+ - Download <https://nodejs.org/> and extract it
+ - `export PATH="$(pwd)/node-v6.10.3-linux-x64/bin:$PATH"`
+ - `cd apprtc`
+ - `npm install`
+ - `export PATH="$(pwd)/node_modules/.bin:$PATH"`
+ - `pip install --user --upgrade pip setuptools` - needed only on old systems
+ - `grunt`
+- Vendor collider's dependencies:
+ - `ln -s "$(pwd)/src/collider" src/src`
+ - `GOPATH="$(pwd)/src" go get -d collidermain`
+ - `rm src/src`
+- Remove unneeded files:
+ - `rm -rf .git node_modules browsers`
+- `zip -r prebuilt_apprtc.zip apprtc/`
+- `mv prebuilt_apprtc.zip webrtc/src/webrtc/tools/testing/prebuilt_apprtc.zip`
+
+Updating golang/*:
+
+- Go to <https://golang.org/dl/>
+- Download these files:
+ - go*.linux-amd64.tar.gz -> golang/linux/go.tar.gz
+ - go*.darwin-amd64.tar.gz -> golang/mac/go.tar.gz
+ - go*.windows-amd64.zip -> golang/windows/go.zip
kjellander_webrtc 2017/05/16 09:20:10 Wasn't there a step to avoid having to run 'go get
oprypin_webrtc 2017/05/16 09:24:11 The addition of "Vendor collider's dependencies:"
+
+After updating the archives:
+
+- `cd webrtc/src/webrtc/tools/testing`
+- For each updated archive:
+ - `upload_to_google_storage.py file.zip --bucket=chromium-webrtc-resources`
+- `git commit -a && git cl upload`
« no previous file with comments | « webrtc/examples/androidtests/video_quality_loopback_test.py ('k') | webrtc/tools/testing/build_apprtc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698