mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Add fast check script
This commit is contained in:
parent
9c7f7a4615
commit
e3846dbba0
1 changed files with 22 additions and 0 deletions
22
makecheck.sh
Executable file
22
makecheck.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Run a check in a temporary dir
|
||||
#
|
||||
|
||||
# Source directory
|
||||
SOURCE=`pwd`
|
||||
|
||||
# Dest directory
|
||||
DEST=`mktemp -d`
|
||||
|
||||
cd $DEST
|
||||
|
||||
make distclean
|
||||
|
||||
if ! $SOURCE/configure; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! time make check; then
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue