Commit Graph

64 Commits

Author SHA1 Message Date
Tommi Virtanen
9b0d577696 Use Google Test framework for unit tests.
Use ``make check`` to run the tests.

The src/gtest directory comes from ``svn export
http://googletest.googlecode.com/svn/tags/release-1.5.0 src/gtest``
and running "git add -f src/gtest".

gtest is licensed under the New BSD license, see src/gtest/COPYING.
For more on Google Test, see http://code.google.com/p/googletest/

Changed autogen.sh regenerate gtest automake files too. Make sure to
run ``./autogen.sh && ./configure`` after merging this commit, or
incremental builds may fail. The automake integration is inspired
heavily by the protobuf project, and may still be problematic.

Make git ignore files generated by gtest compilation.

Currently putting in just one new-style unit test, refactoring old
tests to fit will come in separate commits.

Note: if you are starting daemons, listening on TCP ports, using
multiple machines, mounting filesystems, etc, it's not a unit test
and does not belong in this setup. A framework for system/integration
tests will be provided later.
2011-01-10 15:19:45 -08:00
Sage Weil
26b67ff83b Makefile: drop unnecessary dist-hook for make_version
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Sage Weil
debaa52086 debian: put debian/ in .diff.gz, not release tarball 2010-03-11 09:06:55 -08:00
Sage Weil
62571f2e0f Makefile: include debian/ 2010-02-28 14:39:45 -08:00
Sage Weil
0f42df4685 debian: updated debian build scripts, changelog 2010-02-08 10:27:49 -08:00
Sage Weil
160e00f0f6 man: mkcephfs, cosd man pages 2009-03-10 14:39:54 -07:00
Yehuda Sadeh
c88c4da5d2 ceph_ver: show the git sha1 version in the logs 2009-03-03 15:32:20 -08:00
Sage Weil
a4c752df71 v0.6 2009-01-20 11:52:50 -08:00
Sage Weil
9457aa3bd0 debian: fix debian-doc; include debian dir in dist tarball 2008-10-09 13:34:32 -07:00
Sage Weil
45e088970b no more m4 2008-07-11 13:40:43 -07:00
Sage Weil
3c38bb6bdd getting closer to building swig stuff 2008-03-12 17:26:38 -07:00
Sage Weil
78924fbed2 more automake. make dist seems to work 2008-01-28 12:30:17 -08:00
Sage Weil
307723dea8 more automake fun 2008-01-28 11:39:51 -08:00
Sage Weil
7469f26a33 first pass at autoconf and automake 2008-01-27 20:45:29 -08:00