aboutsummaryrefslogtreecommitdiff
path: root/googlemock
diff options
context:
space:
mode:
authorBilly Donahue <billydonahue@google.com>2015-08-30 12:40:37 -0400
committerBilly Donahue <billydonahue@google.com>2015-08-30 12:40:37 -0400
commit2eb7748e7076d294c30de98caae8c0b9fc69cf96 (patch)
tree1e98a98ee3d6570b606e153130387c11ee200577 /googlemock
parentda25f9ee21075ad632fd7ab317ec6672de21ee73 (diff)
parent24ecc348b9a02abb39bc09a40c70bc68e1a548e4 (diff)
downloadgoogletest-2eb7748e7076d294c30de98caae8c0b9fc69cf96.tar.gz
merge
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/CMakeLists.txt2
-rwxr-xr-xgooglemock/scripts/gmock_doctor.py14
2 files changed, 8 insertions, 8 deletions
diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt
index 4cc66372..cd522776 100644
--- a/googlemock/CMakeLists.txt
+++ b/googlemock/CMakeLists.txt
@@ -15,7 +15,7 @@ option(gmock_build_tests "Build all of Google Mock's own tests." OFF)
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt")
set(gtest_dir gtest)
else()
- set(gtest_dir ../gtest)
+ set(gtest_dir ../googletest)
endif()
# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
diff --git a/googlemock/scripts/gmock_doctor.py b/googlemock/scripts/gmock_doctor.py
index 9ac46535..74992bc7 100755
--- a/googlemock/scripts/gmock_doctor.py
+++ b/googlemock/scripts/gmock_doctor.py
@@ -599,7 +599,7 @@ def main():
print ('Please copy and paste the compiler errors here. Press c-D when '
'you are done:')
else:
- print 'Waiting for compiler errors on stdin . . .'
+ print ('Waiting for compiler errors on stdin . . .')
msg = sys.stdin.read().strip()
diagnoses = Diagnose(msg)
@@ -617,18 +617,18 @@ If you send your source code and the compiler's error messages to
%s, you can be helped and I can get smarter --
win-win for us!""" % (msg, _EMAIL))
else:
- print '------------------------------------------------------------'
- print 'Your code appears to have the following',
+ print ('------------------------------------------------------------')
+ print ('Your code appears to have the following',)
if count > 1:
- print '%s diseases:' % (count,)
+ print ('%s diseases:' % (count,))
else:
- print 'disease:'
+ print ('disease:')
i = 0
for d in diagnoses:
i += 1
if count > 1:
- print '\n#%s:' % (i,)
- print d
+ print ('\n#%s:' % (i,))
+ print (d)
print ("""
How did I do? If you think I'm wrong or unhelpful, please send your
source code and the compiler's error messages to %s.