Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
toolchain-utils
/
bd447043d50a8bc5f8cb29aee8c1933fb3e874bd
/
.
/
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
]