mirror of
https://github.com/iustin/mt-st.git
synced 2026-09-12 19:16:11 +00:00
Create a make check target
This is the exact same mini-"tests" that are used in distcheck, but separated so that the tests can be run with coverage tracking. Would be good not to have duplicates - maybe use make check inside the distcheck?
This commit is contained in:
@@ -86,6 +86,15 @@ distcheck: dist
|
||||
echo "$$numfiles files installed (5 expected)" && \
|
||||
test "$$numfiles" -eq 5
|
||||
|
||||
check: $(PROGS)
|
||||
echo Checking version output
|
||||
./mt --version
|
||||
./stinit --version
|
||||
echo Checking parse status
|
||||
./stinit -p -f stinit.def.examples
|
||||
echo Checking complete stinit parsing
|
||||
( ./stinit -v -v -p -f stinit.def.examples 2>&1 | grep -q 'Mode 1 definition: scsi2logical=1 can-bsr=1 auto-lock=0 two-fms=0 drive-buffering=1 buffer-writes read-ahead=1 async-writes=1 can-partitions=0 fast-eom=1 blocksize=0 sili=1 timeout=900 long-timeout=14400 density=0x44 compression=0' )
|
||||
|
||||
release-tag:
|
||||
git tag -s -m 'Release version $(VERSION).' mt-st-$(VERSION)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user