mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 22:07:05 +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
|
.PHONY: check
|
||||||
check:
|
check:
|
||||||
cargo test
|
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
|
# Prints a diff between the current code and the one rustfmt would produce
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
|
Loading…
Reference in New Issue
Block a user