OSDN Git Service

Cert: Do not use ANDROID_ build environment variables in test
authorJack He <siyuanh@google.com>
Tue, 3 Mar 2020 23:39:37 +0000 (15:39 -0800)
committerJack He <siyuanh@google.com>
Wed, 4 Mar 2020 00:44:15 +0000 (16:44 -0800)
commite872ce71ad945e85ab8c297742cf8ec1cdabb5a5
treeaddb1604f9c0416544a79ed0c6c979399abdc610
parent481353667529bb86689e171981711c786781d21e
Cert: Do not use ANDROID_ build environment variables in test

* Various environment variables should come from the build artifacts
  instead of the running environment.
* Hence getting rid of varioud usage of ANDROID_* variables in test
  files and figure them out through build artifacts
* Generate environment_provider.py at build time to provide
  build specific variables to the test at run time

Test: source cert/run
Bug: 150321998
Change-Id: I783c3784ad6018cb807a46701675fa5307e39175
gd/Android.mk
gd/cert/gd_base_test_facade_only.py
gd/cert/gd_device_base.py
gd/cert/python3.8-gd
gd/cert/run
gd/cert/run_pts_l2cap.sh
gd/cert/set_up_virtualenv.sh