aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest_color_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest_color_test.py')
-rwxr-xr-xtest/gtest_color_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gtest_color_test.py b/test/gtest_color_test.py
index 71891768..5260a899 100755
--- a/test/gtest_color_test.py
+++ b/test/gtest_color_test.py
@@ -62,7 +62,7 @@ def UsesColor(term, color_env_var, color_flag):
cmd = COMMAND
if color_flag is not None:
cmd += ' --%s=%s' % (COLOR_FLAG, color_flag)
- return os.system(cmd)
+ return gtest_test_utils.GetExitStatus(os.system(cmd))
class GTestColorTest(unittest.TestCase):