summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-11-10 19:17:35 (GMT)
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-11-10 19:17:35 (GMT)
commit7e13e0f5dd2f9458e0a613e0a91c894eb80126fc (patch)
tree37d724d53579343200b2ca5493edd8b291d0b297 /src
parentedba5d808c10731938a23a53daf182a297124607 (diff)
downloadgoogletest-7e13e0f5dd2f9458e0a613e0a91c894eb80126fc.zip
googletest-7e13e0f5dd2f9458e0a613e0a91c894eb80126fc.tar.gz
googletest-7e13e0f5dd2f9458e0a613e0a91c894eb80126fc.tar.bz2
Fixes the code to work with fuse_gtest.py.
Diffstat (limited to 'src')
-rw-r--r--src/gtest-all.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtest-all.cc b/src/gtest-all.cc
index a67ea0f..fe34765 100644
--- a/src/gtest-all.cc
+++ b/src/gtest-all.cc
@@ -33,6 +33,12 @@
//
// Sometimes it's desirable to build Google Test by compiling a single file.
// This file serves this purpose.
+
+// This line ensures that gtest.h can be compiled on its own, even
+// when it's fused.
+#include <gtest/gtest.h>
+
+// The following lines pull in the real gtest *.cc files.
#include "src/gtest.cc"
#include "src/gtest-death-test.cc"
#include "src/gtest-filepath.cc"