diff options
author | Frank Feng <frankfeng@google.com> | 2022-05-17 14:32:03 -0700 |
---|---|---|
committer | Frank Feng <frankfeng@google.com> | 2022-05-17 14:36:49 -0700 |
commit | 7b7cfefbd9c3f49f6c0d8e6537f71ddd8b4ee410 (patch) | |
tree | 5ef44609ec4d4efca88630497d4dc2a935d296c7 /test.sh | |
parent | 8eebef1e74965fcdea069dfa5e828f67f2b9912d (diff) | |
parent | b05ca660bc9ce2ff9753256238927b91e234c34b (diff) | |
download | portpicker-7b7cfefbd9c3f49f6c0d8e6537f71ddd8b4ee410.tar.gz |
Merge remote-tracking branch 'aosp/upstream-main' into mymerge
Bug: 225958696
Test: TH
Change-Id: I0934724989141365fbc74576bff17338df40ac18
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/sh -ex + +unset PYTHONPATH +python3 -m venv build/venv +. build/venv/bin/activate + +pip install --upgrade pip +pip install tox +# We should really do this differently, test from a `pip install .` so that +# testing relies on the setup.cfg install_requires instead of listing it here. +pip install psutil +tox -e "py3$(python -c 'import sys; print(sys.version_info.minor)')" |