aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest_help_test.py
diff options
context:
space:
mode:
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 62710192..d81f149f 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'