summaryrefslogtreecommitdiff
path: root/scripts/merge_json.py
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-10-06 11:01:59 +0100
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2022-10-06 17:53:42 +0000
commita47df7fe25d1f2e3a0ea5ed4895c1aa266150784 (patch)
treeb0dfa018d501fdb93e749cb66ab7e75b91755c20 /scripts/merge_json.py
parentddf000f42ca366d3bb24def6b07ed0b43e3d358d (diff)
Add Config,RunningInsideUnitTest
Sometimes it is necessary for some functionality to be disabled while running in unit tests, e.g. functionality that requires external information such as error prone tools and configuration. Sometimes it is necessary for some functionality to be enabled while running in unit tests, e.g. functionality that makes state available for testing but which is not necessary at runtime. Previously, that was done by checking to see if TestProductVariables was nil. This change adds a method to abstract that. Bug: 245956352 Test: m nothing Change-Id: I7845b79328e7180623161a9bf897568089da4e4f (cherry picked from commit 741355826fc314796b3e5ca4cb89e4d196e96b20) Merged-In: I7845b79328e7180623161a9bf897568089da4e4f
Diffstat (limited to 'scripts/merge_json.py')
0 files changed, 0 insertions, 0 deletions