aboutsummaryrefslogtreecommitdiffstats
path: root/doc/programmer/gtest-guide.txt
blob: 225690c2dd42e412b0986bcded6cb43b7d99d2bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Googlemock and Googletest Suite for Subversion
---------------------------------------------

Googlemock and Googletest are external packages that are downloaded
and compiled on request, as part of regular compilations.

Googlemock is available here:

    https://code.google.com/p/googlemock/

The source packages already include Googletest, which is available
here:

   https://code.google.com/p/googletest/

Subversion uses Googlemock and Googletest for the C++HL test suite.



To configure Subversion to use Googlemock, type

   ./get-dep.sh gmock

This will download Googlemock and put the fused source into the
'gmock-fused' directory. Once it's there, configure will pick it up
automatically (but you do have to re-run autogen.sh and configure).

You can disable building Googlemock (and hence the C++HL test suite)
with the --disable-gmock configure option. This will tell configure to
ignore the gmock-fused directory.