| Commit message (Collapse) | Author | Age |
|
|
|
| |
reset-gcov target to Makefile.am
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This implements ticket #8530.
|
|
|
|
| |
This beats our old implementation, which wouldn't work when cross-compiling
|
|
|
|
| |
The rule is simple: Everything not in src/ext!
|
| |
|
| |
|
| |
|
|
|
|
| |
Automake 1.7 is too broken to even investigate why it broke at this point.
|
|
|
|
| |
with non-recursive make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/
|
|
|
|
| |
note about using static libevent when building RPMs.
|
|
|
|
|
|
| |
dist-gzip to create the tarball.
Signed-off-by: Ondrej Mikle <ondrej.mikle@gmail.com>
|
| |
|
|
|
|
| |
This is katmagic's idea. See issue 4400.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Conflicts:
Makefile.am
|
| |\ |
|
| | | |
|
|\| | |
|
| |\|
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/common/test.h
src/or/test.c
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\| |
| | |
| | |
| | |
| | | |
Conflicts:
configure.in
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| | |
The tinytest* files went into src/test/.
|
| | |
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
src/common/test.h
src/or/test.c
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The file listing for excluded files was outdated. tree.h doesn't
exist anymore, and several other files were missing.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"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.
|
|\| |
|
| |
| |
| |
| | |
in case Make on openirix128 can't handle it otherwise
|
| | |
|
|\|
| |
| |
| |
| | |
[Didn't take Karsten's full bug 1024 workaround, since 0.2.2 doesn't
use v0 rend descs.]
|
| | |
|
|/
|
|
|
| |
Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$
meaningless. Remove them without replacement.
|
|
|
|
|
|
|
| |
More test coverage for tor_addr_t; fix a couple of bugs.
svn:r16234
|
|
|
|
| |
svn:r14951
|
|
|
|
|
|
|
| |
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file.
svn:r13566
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
|
|
|
|
|
| |
summary changelogs from the stable releases. we'll
be removing these summaries from ChangeLog, in favor
of more detailed per-sub-release changelogs.
svn:r9405
|
|
|
|
|
|
|
| |
Add a maintainer script and a new make target "make check-docs" to get a quick dump of which options are undocumented where, and which documentation refers to nonexistent options.
svn:r9160
|