aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2015-03-22Add call to chutney to coverage-html-full targetSebastian Hahn
Now make coverage-html-full should be a pretty good approximation of our actual coverage
2015-03-21Disable assertions during coverage buildsSebastian Hahn
This removes roughly 5000 branches in my testing. We never want to trigger assertions even during tests, so this is sane. Implements #15400.
2015-03-14Revive updateVersions.pl with `make update-versions`.cypherpunks
2015-03-14Make `check-docs` work from out-of-tree builds.cypherpunks
2015-03-14Warn users trying to generate a coverage report when not configured as such.cypherpunks
2015-03-14Use output variables instead of relative paths.cypherpunks
Fixes the following rules in out-of-tree builds; - check-spaces - check-docs - check-logs - Doxygen - coverage-html And cleans up additional directories; - coverage_html - doc/doxygen
2015-03-09Add `check-changes` rule for checking formatting of changes files.cypherpunks
Additional fixes to make the change work; - fix Python 2 vs 3 issues - fix some PEP 8 warnings - handle paths with numbers correctly - mention the make rule in doc/HACKING.
2015-02-26Use configured Python binary in test-stem.cypherpunks
2015-01-10Better workaround for CFLAGS issues from #14072; fixes #14162Nick Mathewson
When I applied patch fcc78e5f8a3249eadfea31db, I somehow broke stack trace symbols on Linux. I'll leave it to others to figure out why that happens. This should be better. Really. Fixes bug 14162; bug not in any released version of Tor.
2015-01-06have 'make {clean,reset_gcov}' remove gcov files in subdirectoriesNick Mathewson
2015-01-06make "make test-stem" run stem tests on torNick Mathewson
Closes ticket 14107.
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-09-25Use trunnel for crypto_pwbox encoding/decoding.Nick Mathewson
This reduces the likelihood that I have made any exploitable errors in the encoding/decoding. This commit also imports the trunnel runtime source into Tor.
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.