Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
toolchain-utils
/
5fe6dc81886f49eb2089c883c6862f2e896155cf
/
.
/
crosperf
/
test_flag.py
blob: 613138b218a85a4269debfa717cfe5ac78162225 [
file
] [
log
] [
blame
]
#!/usr/bin/python
#
# 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
]