summaryrefslogtreecommitdiff
path: root/check
AgeCommit message (Collapse)AuthorFilesLines
2021-09-15chore: make chronic (from moreutils) an optional build dependencyLars Wirzenius1-1/+4
Sponsored-by: author
2021-09-10test: tell Subplot-generated test program where the binaries areLars Wirzenius1-22/+18
Previously, we blindly assumed that Cargo puts binaries in `target/debug` in the source tree. That is the default, but the user can change it. Now we get the Cargo target directory by parsing the output of "cargo metadata" and pass in the path to the test program via an environment variable. Also, reformat shell script. Sponsored-by: author
2021-07-16test: have ./check verify all needed tools are installedLars Wirzenius1-0/+23
Sponsored-by: author
2021-05-27build: don't hid clippy warningsLars Wirzenius1-1/+1
Previously we were hiding (with chronic) clippy output if it was successful. However, clippy exits with zero even if it writes warnings. Thus, chronic is the wrong solution. The output also contains progress reporting from cargo, which is unwanted, thus, this commit replaces chronic with the clippy -q option, to get rid of the progress reporting. Sponsored-by: author
2021-04-20fix(check): don't hide Clippy output if -v is specifiedAlexander Batischev1-1/+1
2021-04-10chore: use new Subplot binary nameLars Wirzenius1-3/+3
2021-03-27fix: how ./check looks for subcommandsLars Wirzenius1-2/+2
2021-03-27test: don't silence clippy warningsLars Wirzenius1-1/+1
2021-03-19build: don't run tests as rootLars Wirzenius1-1/+6
2021-02-18refactor(check): simplify how quietness is implementedLars Wirzenius1-6/+4
2021-02-10fix(check): don't pass -v for check on to test.pyLars Wirzenius1-0/+1
Previously, -v was obeyed by check itself, but also passed onto the test program it generates with Subplot. This removes -v from the list of arguments passed on to the test program. This makes -v actually be useful.
2021-01-04Revert "test: make sure Cargo.toml and debian/changelog versions match"Lars Wirzenius1-9/+0
This reverts commit 4a779c234c3dbf2685ad81be92a96688266fec58. CI munges the Debian version, making the version check always fail. Back to the drawing board for this.
2021-01-04test: make sure Cargo.toml and debian/changelog versions matchLars Wirzenius1-0/+9
2020-11-22fix: run cargo clippy, fmt only if availableLars Wirzenius1-2/+7
2020-11-13test: update check to format subplot and generate&run test programLars Wirzenius1-1/+6
Also drop now-obsolete format.sh.
2020-10-23refactor: move doc formatting to its own scriptLars Wirzenius1-3/+1
2020-09-18feat: add a rudimentary chunk server main programLars Wirzenius1-0/+4
Also, add an initial subplot to document and verify acceptance criteria.
2020-09-18fix check to run rustfmt via cargoLars Wirzenius1-5/+1
2020-09-17test: add script to run automated testsLars Wirzenius1-0/+28