Make Google Test build cleanly on Visual Studio 2010, 2012, 2013.

Also improve an error message in gtest_test_utils.py.
This commit is contained in:
kosak
2014-01-13 22:24:15 +00:00
parent 6576c64903
commit 7d1051ce2b
6 changed files with 45 additions and 14 deletions

View File

@@ -29,10 +29,11 @@
//
// Author: wan@google.com (Zhanyong Wan)
#include "test/gtest-typed-test_test.h"
#include <set>
#include <vector>
#include "test/gtest-typed-test_test.h"
#include "gtest/gtest.h"
using testing::Test;

View File

@@ -175,9 +175,9 @@ def GetTestExecutablePath(executable_name, build_dir=None):
if not os.path.exists(path):
message = (
'Unable to find the test binary. Please make sure to provide path\n'
'to the binary via the --build_dir flag or the BUILD_DIR\n'
'environment variable.')
'Unable to find the test binary "%s". Please make sure to provide\n'
'a path to the binary via the --build_dir flag or the BUILD_DIR\n'
'environment variable.' % path)
print >> sys.stderr, message
sys.exit(1)