Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
toolchain-utils
/
refs/heads/release-R52-8350.B
/
.
/
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
]