aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2014-07-16Tweak coverage-html targetNick Mathewson
- Don't try to rm -rf the directory before we start: somebody might have set it to ~, which would be quite sad. - Always quote the directory name - Use 'make reset-gcov' before running tests. - Use 'make check', not ./src/test/test
2014-07-16Add coverage-html makefile targetKevin Murray
This uses lcov to generate a nice HTML report of test code coverage, including branch coverage. Signed-off-by: Kevin Murray <spam@kdmurray.id.au>
2014-04-28Deal with the aftermath of sorting contribNick Mathewson
This basically amounts to grepping for every file that mentioned contrib and adjusting its references to refer to the right place.
2013-07-15Add optional target directory parameter to coverage script and add ↵Andrea Shepard
reset-gcov target to Makefile.am
2013-07-10Coverage support: build with --enable-coverage to have tests run with gcovNick Mathewson
If you pass the --enable-coverage flag on the command line, we build our testing binaries with appropriate options eo enable coverage testing. We also build a "tor-cov" binary that has coverage enabled, for integration tests. On recent OSX versions, test coverage only works with clang, not gcc. So we warn about that. Also add a contrib/coverage script to actually run gcov with the appropriate options to generate useful .gcov files. (Thanks to automake, the .o files will not have the names that gcov expects to find.) Also, remove generated gcda and gcno files on clean.
2013-06-14Use CHUTNEY_PATH to find Chutney.Linus Nordberg
2013-06-13Add make target test-network running traffic tests in a Chutney network.Linus Nordberg
This implements ticket #8530.
2013-02-07Use a nicely written autoconf macro to determine the sign of a typeNick Mathewson
This beats our old implementation, which wouldn't work when cross-compiling
2012-10-12Simplify list of files that get whitespace-checkedNick Mathewson
The rule is simple: Everything not in src/ext!
2012-09-07Fix whitespace in Makefile.amNick Mathewson
2012-09-07Removed dependency on tor.spec. Removed tor.spec.in.Ondrej Mikle
2012-08-27build: minimal adjustments to make out-of-tree build workJim Meyering
2012-08-24We now need automake 1.9 or laterNick Mathewson
Automake 1.7 is too broken to even investigate why it broke at this point.
2012-08-09add subdir-objects to AUTOMAKE_OPTIONS, this builds object files in subdirs ↵Stewart Smith
with non-recursive make
2012-08-09Move to non-recursive makeStewart Smith
This gives us a few benefits: 1) make -j clean all this will start working, as it should. It currently doesn't. 2) increased parallel build recursive make will max out at number of files in a directory, non-recursive make doesn't have such a limitation 3) Removal of duplicate information in make files, less error prone I've also slightly updated how we call AM_INIT_AUTOMAKE, as the way that was used was not only deprecated but will be *removed* in the next major automake release (1.13).... so probably best that we can continue to bulid tor without requiring old automake. (see http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html ) For more reasons why, see resources such as: http://miller.emu.id.au/pmiller/books/rmch/
2012-07-31Workaround for building EL5 RPMs by specifying rpmbuild-md5. Updated old ↵Ondrej Mikle
note about using static libevent when building RPMs.
2012-07-31Cleanup of RPM build process - no more .git in tarball, use automake's ↵Ondrej Mikle
dist-gzip to create the tarball. Signed-off-by: Ondrej Mikle <ondrej.mikle@gmail.com>
2012-06-28Clean up check-spaces block; make it cover the right filesNick Mathewson
2011-11-24Basic support for a "make version" target to declare the source versionNick Mathewson
This is katmagic's idea. See issue 4400.
2011-08-01Initial patch to build Tor with msvc and nmakeNick Mathewson
We'll still need to tweak it so that it looks for includes and libraries somewhere more sensible than "where we happened to find them on Erinn's system"; so that tests and tools get built too; so that it's a bit documented; and so that we actually try running the output. Work done with Erinn Clark.
2011-01-03Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: Makefile.am
2011-01-03Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-01-03Note that Tor requires Automake 1.7. Fixes bug 2305Nick Mathewson
2011-01-03Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2011-01-03Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2011-01-03Bump copyright statements to 2011Nick Mathewson
2010-11-11Split long lines in configure.in and Makefile.am filesNick Mathewson
Having very long single lines with lots and lots of things in them tends to make files hard to diff and hard to merge. Since our tools are one-line-at-a-time, we should try to construct lists that way too, within reason. This incidentally turned up a few headers in configure.in that we were for some reason searching for twice.
2010-11-11Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: configure.in
2010-11-10Remove everything related to os x expert packageSebastian Hahn
We decided to no longer ship expert packages for OS X because they're a lot of trouble to keep maintained and confuse users. For those who want a tor on OS X without Vidalia, macports is a fine option. Alternatively, building from source is easy, too. The polipo stuff that is still required for the Vidalia bundle build can now be found in the torbrowser repository, git://git.torproject.org/torbrowser.git.
2010-10-01The build stuff for tor-fw-helper means we need automake 1.6 or laterNick Mathewson
2010-09-30First implementation of tor-fw-helper.Jacob Appelbaum
tor-fw-helper is a command-line tool to wrap and abstract various firewall port-forwarding tools. This commit matches the state of Jacob's tor-fw-helper branch as of 23 September 2010. (commit msg by Nick)
2010-07-27Simplify expression to list files for check-spacesSebastian Hahn
The tinytest* files went into src/test/.
2010-05-20Include src/tools in paths to check with "make check-spaces"Steven Murdoch
2010-02-27Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2010-02-27Update Tor Project copyright yearsNick Mathewson
2010-02-22we deleted AUTHORS, so don't put it in the tarballRoger Dingledine
2009-12-12List all the excluded files for make check-spacesSebastian Hahn
The file listing for excluded files was outdated. tree.h doesn't exist anymore, and several other files were missing.
2009-09-23Make "make test" depend on "all".Nick Mathewson
2009-09-23Move testing code into new src/test directory.Nick Mathewson
2009-09-23Refactor unit tests to use the tinytest framework.Nick Mathewson
"Tinytest" is a minimalist C unit testing framework I wrote for Libevent. It supports some generally useful features, like being able to run separate unit tests in their own processes. I tried to do the refactoring to change test.c as little as possible. Thus, we mostly don't call the tinytest macros directly. Instead, the test.h header is now a wrapper on tinytest.h to make our existing test_foo() macros work. The next step(s) here will be: - To break test.c into separate files, each with its own test group. - To look into which things we can test - To refactor the more fiddly tests to use the tinytest macros directly and/or run forked. - To see about writing unit tests for things we couldn't previously test without forking.
2009-07-24Merge branch 'maint-0.2.1' into masterRoger Dingledine
2009-07-24make phobos's lines start with tabs againRoger Dingledine
in case Make on openirix128 can't handle it otherwise
2009-07-24added LIBS=-lrt to Makefile.am for static libevent in the tor rpms.Andrew Lewman
2009-07-02Merge commit 'origin/maint-0.2.1'Nick Mathewson
[Didn't take Karsten's full bug 1024 workaround, since 0.2.2 doesn't use v0 rend descs.]
2009-06-30Update the year for the copyright statement in two more filesPeter Palfrader
2009-05-05Remove all svn metadata minus what I missed.Sebastian Hahn
Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$ meaningless. Remove them without replacement.
2008-07-29 r17426@tombo: nickm | 2008-07-28 20:34:03 -0400Nick Mathewson
More test coverage for tor_addr_t; fix a couple of bugs. svn:r16234
2008-06-04Make dist depend on check.Nick Mathewson
svn:r14951
2008-02-19 r14246@tombo: nickm | 2008-02-17 19:33:02 -0500Nick Mathewson
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file. svn:r13566
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412