summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2017-09-21Whoops; only run lintchanges when usepythonNick Mathewson
2017-09-21Make check-spaces part of the standard "make check" processNick Mathewson
To do this, we had to make sure it passes when the changes directory is empty. I also tried to improve the quality of the output, and fix some false-positive cases. Let's see how this goes! Closes ticket 23564.
2017-09-07Add support for running "calltool" on Tor via "make callgraph".Nick Mathewson
Closes #19307.
2017-08-2122839: Build tor with rust enabled on winTies Stuij
- make tor_util static library name configurable - fix Rust libary dependency order for Windows
2017-05-19Allow Rust build using locally supplied crates or crates.ioSebastian Hahn
This adds a couple of configure commands to control whether we're requiring all dependencies to be available locally (default) or not (--enable-cargo-online-mode). When building from a tarball, we require the RUST_DEPENDENCIES variable to point to the local repository of crates. This also adds src/ext/rust as a git submodule that contains such a local repository for easy setup.
2017-05-19Add some Rust utility functions and print supportSebastian Hahn
This gives an indication in the log that Tor was built with Rust support, as well as laying some groundwork for further string-returning APIs to be converted to Rust
2017-04-29Add --enable-rust configure switchSebastian Hahn
Introduce a way to optionally enable Rust integration for our builds. No actual Rust code is added yet and specifying the flag has no effect other than failing the build if rustc and cargo are unavailable.
2017-04-25Add --enable-zstd to our configure script.Alexander Færøy
This patch adds support for enabling support for Zstandard to our configure script. By default, the --enable-zstd option is set to "auto" which means if libzstd is available we'll build Tor with Zstandard support. See: https://bugs.torproject.org/21662
2017-04-25Add --enable-lzma to our configure script.Alexander Færøy
This patch adds support for enabling support for LZMA to our configure script. By default, the --enable-lzma option is set to "auto" which means if liblzma is available we'll build Tor with LZMA support. See: https://bugs.torproject.org/21662
2017-03-15Run the copyright update script.Nick Mathewson
2017-03-01Remove a spurious test-network-all warning that triggers when sh is not bashteor
Part of 21581.
2017-02-28Log tor warnings during 'make test-network-all'teor
Requires the chutney changes from 21572. (Otherwise, asks users to upgrade their chutney.) Implements 21570.
2017-01-30libfuzzer tweaks per recommendationsNick Mathewson
2017-01-30Add libfuzzer support.Nick Mathewson
2017-01-30fuzzing: Add copyright notices and whitespace fixesNick Mathewson
2016-12-19Fuzzing: Add an initial fuzzing tool, for descriptors.Nick Mathewson
This will need some refactoring and mocking.
2016-12-19Add checkSpace to distNick Mathewson
2016-12-16Run check-spaces when using `make check`cypherpunks
2016-12-16Run check-spaces only when Perl is availablecypherpunks
Also permit users to override the Perl variable with relative paths.
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