Skip to content

Commit

Permalink
docs: Make a code snippet more convenient for c&p
Browse files Browse the repository at this point in the history
Change-Id: Ic98dd0dc64fb2c926701285c7664aff9596439ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4982986
Reviewed-by: Sven Zheng <svenzheng@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1216739}
  • Loading branch information
GeorgNeis authored and Chromium LUCI CQ committed Oct 30, 2023
1 parent 57fae7e commit fb857ca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/lacros/test_linux_lacros.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,17 @@ There are two ways to run Linux based version skew testing:
First follow the previous section to build your target. Then download ash.
Assuming you want to test against ash 92.0.4515.130.
```
version=92.0.4515.130
cipd auth-login
echo "chromium/testing/linux-ash-chromium/x86_64/ash.zip version:92.0.4515.130" > /tmp/ensure-file.txt
cipd ensure -ensure-file /tmp/ensure-file.txt -root lacros_version_skew_tests_v92.0.4515.130
echo "chromium/testing/linux-ash-chromium/x86_64/ash.zip version:$version" > /tmp/ensure-file.txt
cipd ensure -ensure-file /tmp/ensure-file.txt -root lacros_version_skew_tests_v$version
```

Then you can use
```
./build/lacros/test_runner.py test \
out_linux_lacros_lacros/Release/lacros_chrome_browsertests \
--ash-chrome-path-override=lacros_version_skew_tests_v92.0.4515.130/test_ash_chrome
--ash-chrome-path-override=lacros_version_skew_tests_v$version/test_ash_chrome
```
to run the test against that version of ash.

Expand Down

0 comments on commit fb857ca

Please sign in to comment.