Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
toolchain-utils
/
eff2fc1c86365c53ae228df4653524ceb6168d92
/
.
/
crosperf
/
test_flag.py
blob: 0305eea71bf2c0cf04687228c822036f12a9702e [
file
] [
log
] [
blame
]
# Copyright 2011 Google Inc. All Rights Reserved.
"""A global variable for testing."""
_is_test
=
[
False
]
def
SetTestMode
(
flag
):
_is_test
[
0
]
=
flag
def
GetTestMode
():
return
_is_test
[
0
]