Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
toolchain-utils
/
7057cf67ba1dbdd4387f53e5fe47b43c955b1a53
/
.
/
crosperf
/
test_flag.py
blob: 06f2ae1044fa9b75ace6697dcb8f2bbb43fd258d [
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
]