summaryrefslogtreecommitdiffstats
path: root/test/gtest_help_test.py
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-04-09 02:57:38 (GMT)
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-04-09 02:57:38 (GMT)
commit7fa242a44b47ce74d7246440b14571f7a5dd1b17 (patch)
tree968a9d50b23d7ef33cf37aaed77d23f0407fde7d /test/gtest_help_test.py
parentc12f63214e9b7761d27e68353e4aaf1761c9cf88 (diff)
downloadgoogletest-7fa242a44b47ce74d7246440b14571f7a5dd1b17.zip
googletest-7fa242a44b47ce74d7246440b14571f7a5dd1b17.tar.gz
googletest-7fa242a44b47ce74d7246440b14571f7a5dd1b17.tar.bz2
Makes the Python tests more stable (by Vlad Losev); fixes a memory leak in GetThreadCount() on Mac (by Vlad Losev); improves fuse_gtest_files.py to support fusing Google Mock files (by Zhanyong Wan).
Diffstat (limited to 'test/gtest_help_test.py')
-rwxr-xr-xtest/gtest_help_test.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/gtest_help_test.py b/test/gtest_help_test.py
index 6271019..d81f149 100755
--- a/test/gtest_help_test.py
+++ b/test/gtest_help_test.py
@@ -47,12 +47,7 @@ import unittest
IS_WINDOWS = os.name == 'nt'
-if IS_WINDOWS:
- PROGRAM = 'gtest_help_test_.exe'
-else:
- PROGRAM = 'gtest_help_test_'
-
-PROGRAM_PATH = os.path.join(gtest_test_utils.GetBuildDir(), PROGRAM)
+PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('gtest_help_test_')
FLAG_PREFIX = '--gtest_'
CATCH_EXCEPTIONS_FLAG = FLAG_PREFIX + 'catch_exceptions'
DEATH_TEST_STYLE_FLAG = FLAG_PREFIX + 'death_test_style'