aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2018-04-26Show test-suite.log for distcheck on Travis CITaylor Yu
When Travis CI runs make distcheck, test-suite.log doesn't exist in the expected place. Add a new make target to show this file and use it when DISTCHECK=yes in .travis.yml. Fixes bug 25814; bug not in any released Tor.
2016-10-03Teach 'make tags' about MOCK_IMPL.Nick Mathewson
Patch from nherring; closes ticket 16869
2016-08-31Fix the test network IPv6 check so it works on Linuxteor
2016-07-08Fix test-network-all target in out-of-tree buildscypherpunks
The test-network-all target assumes the test-driver script lives in the current working directory. This assumption breaks out-of-tree builds because it actually lives in the source directory. Automake 1.12 introduces `LOG_DRIVER` which defines the location of the test driver script. Because Tor still supports Automake 1.11 we use the default value of this variable directly. The default value uses the configured shell for calling the test driver script and explicitly prefixes the source directory.
2016-07-04Raise libevent dependency to 2.0.10-stable or newerSebastian Hahn
Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code.
2016-05-12Merge branch 'ftrapv_v3'Nick Mathewson
There were some conflicts here, and some breakage to fix concerning library link order in newer targets.
2016-05-12Add -ftrapv to gcc-hardening ... mostly!Nick Mathewson
We know there are overflows in curve25519-donna-c32, so we'll have to have that one be fwrapv. Only apply the asan, ubsan, and trapv options to the code that does not need to run in constant time. Those options introduce branches to the code they instrument. (These introduced branches should never actually be taken, so it might _still_ be constant time after all, but branch predictors are complicated enough that I'm not really confident here. Let's aim for safety.) Closes 17983.
2016-05-09Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-09Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-05-09Add "-c 1" to ping6 in test-network-allNick Mathewson
Fixes bug 19008. bugfix on 0.2.7.3-rc
2016-05-02Clean up TEST_TOR_BINARY so test-stem can have better dependenciesNick Mathewson
Fix #18240. This version of the bug first appeared in 0.2.8.2-alpha. 0.2.8.1-alpha and earlier had a different bug. Based on a patch from cypherpunks.
2016-03-11Move Automake options to configure.accypherpunks
This will centralize the version configuration in one file to simplify future changes. Also fixes some typos in the Automake options comments.
2016-02-24Repare dependency in "make test-stem".Nick Mathewson
2016-02-23Document required autotools versionsNick Mathewson
CentOS 6 is roughly the oldest thing we care about developers still using, and it has autoconf 2.63 / automake 1.11. These are both older than openssl 1.0.0, so anybody who can't upgrade past those probably can't upgrade to a modern openssl either. And since only people building from git or editing configure.ac/Makefile.am need to use autotools, I'm not totally enthused about keeping support for old ones anyway. Closes ticket 17732.
2016-02-05Fix the --disable-asserts-in-tests configure optionSebastian Hahn
2015-12-18Stop building and testing Tor twice with distcheckcypherpunks
2015-12-14Only setup environment variables for testscypherpunks
Using the AM_TESTS_ENVIRONMENT variable ensures the environment variables are only set during test execution and not during the compilation phase.
2015-09-09make test-network-all exit 1 if any test network failsteor (Tim Wilson-Brown)
2015-09-08Add "make test-network-all" to verify multiple test networksteor (Tim Wilson-Brown)
make test-network-all is Makefile target which verifies a series of test networks generated using test-network.sh and chutney. It runs IPv6 and mixed version test networks if the prerequisites are available. Each test network reports PASS, FAIL, or SKIP. Closes ticket 16953. Patch by "teor". Also adds "--hs-multi-client 1" option to TEST_NETWORK_FLAGS. This resolves #17012. Larger networks, such as bridges+hs, may fail until #16952 is merged.
2015-08-27Autodetect CHUTNEY_PATH if chutney is next to torteor (Tim Wilson-Brown)
If the chutney and tor sources are side-by-side in the same parent directory, autodetect the chutney path. Closes ticket 16903. Patch by "teor".
2015-08-21Is this the syntax that will make freebsd make happy?Nick Mathewson
2015-08-21Remove tor-fw-helper more thoroughlySebastian Hahn
2015-08-19Integreate test_keygen.sh into 'make check'.Nick Mathewson
2015-08-03When building with coverage, run chutney with coverageNick Mathewson
Previously, this required me to do stuff like 'cp src/or/tor-cov src/or/tor' , which is pretty embarrassing.
2015-08-03Improved targets for "run all the tests, no, all of them."Nick Mathewson
2015-07-02Use the configured Python executable to run test-stem-full.cypherpunks
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