mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 13:17:00 +00:00
buildsys: make check should test test.pl output
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
4b3ab550d2
commit
8d93a3de61
4
Makefile
4
Makefile
@ -28,6 +28,10 @@ builddeps: $(foreach c,$(CRATES), $c-builddeps)
|
||||
.PHONY: check
|
||||
check:
|
||||
cargo test
|
||||
cargo build
|
||||
perl test.pl >out.test
|
||||
if diff -up out.test test.pl.expected; then rm out.test; \
|
||||
else echo "Test output mismatch between out.test and test.pl.expected"; fi
|
||||
|
||||
# Prints a diff between the current code and the one rustfmt would produce
|
||||
.PHONY: fmt
|
||||
|
Loading…
Reference in New Issue
Block a user