aboutsummaryrefslogtreecommitdiff
path: root/maint/coverage
Commit message (Collapse)AuthorAgeFilesLines
* maint: remove useless optargEmil Engler2023-08-081-1/+1
| | | | | The `maint/coverage` script has a useless option `c`. This commit removes it.
* maint: list the HTML dependencies in coverageEmil Engler2023-08-081-0/+1
| | | | | | | | Currently, the `maint/coverage` script does not inform about the dependencies required for generating the HTML output, those are, the Python packages `bs4` and `lxml`. This commit fixes that, by updating the help section accordingly.
* maint: remove the dependency check from coverageEmil Engler2023-02-241-23/+0
| | | | | This commit removes the dependency check introduced by b4b8d040, because it's task is now done by the recently added `check_env` script.
* Merge branch 'coverage-dep-check' into 'main'Ian Jackson2023-02-221-0/+23
|\ | | | | | | | | | | | | maint: add a dependency check to coverage Closes #776 See merge request tpo/core/arti!1025
| * maint: add a dependency check to coverageEmil Engler2023-02-211-0/+23
| | | | | | | | | | | | | | | | | | This commit implements a dependency check to the `maint/coverage` script, that checks for the rustup, python3, and grcov binaries in $PATH; the bs4 and lxml python packages; and the llvm-tools Rust component. Fixes #776
* | maint: forcefully remove files in coverageEmil Engler2023-02-161-1/+1
|/ | | | | | | | | | | | When performing the initial run of `./maint/coverage`, it will report an error message to stderr, that several files cannot be deleted, due to their non-existence. While the error is still ignored, I personally think that there is no benefit in showing it either, thereby surpressing it with this commit. Beside this, this syntax might be easier to understand from a semantical point of view.
* maint: replace llvm-tools-preview with llvm-toolsEmil Engler2023-01-271-1/+1
| | | | | | | | | | | | This commit replaces all occurrences of `llvm-tools-preview` with `llvm-tools`, because it became a stable feature with Rust 1.60, thereby making the `-preview` prefix obsolete. Beside this, `llvm-tools-preview` is a redirection to the latter one anyway. However, it does not work the other way around. At the moment, it is not possible to execute the `maint/coverage` script on a NixOS system, because the rustup component list only includes `llvm-tools`, but not `llvm-tools-preview`, thereby making this change necessary.
* shell: use /usr/bin/env instead of absolute pathsEmil Engler2023-01-251-1/+1
| | | | | | | | | | This commit changes the shebang in all shell scripts from absolute paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env` binary with the accompanying interpreter as it's argument. The reason for this are as follows: - NixOS cannot work with absolute paths - BSD systems install their packages in /usr/local/bin
* Fix "coverage -h" commandSteven Murdoch2022-05-261-1/+1
| | | | $SCRIPT_NAME is not defined so causes an error. Use $(basename "$0") instead.
* make almost all scripts use bash and set euo pipefailtrinity-1686a2022-05-251-1/+1
|
* use true instead of /bin/truetrinity-1686a2022-05-051-2/+2
| | | | see https://gitlab.torproject.org/tpo/core/arti/-/issues/400#note_2800763
* generate aggregated coverage reportstrinity-1686a2022-05-051-13/+19
|
* use rustc 1.60 (stable) for coveragetrinity-1686a2022-04-071-1/+1
|
* tests/chutney: Merge chutney-launching scriptsNick Mathewson2022-03-101-1/+1
| | | | | | | | | Formerly, the "launch a chutney network" code was duplicated in "setup" and "arti-bench", since "setup" always launched an arti proxy, while "arti-bench" didn't want that functionality. Now the "setup" script launches an arti proxy conditionally, depending on whether the "proxy" argument is given.
* rename *.sh scripts to bare nameIan Jackson2022-02-181-0/+100
As per #309 Update all references. There is one remaining hit for git-grep '\.sh\b' namely "build.sh" in maint/reproducible_build, which I think is the build script for osxcross - ie, an external project.