mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-12-12 21:53:43 +08:00
d4bc1bf290
The test programs are not build by default but we want at least the build coverage, so add them. Also make the build parallel. Signed-off-by: David Sterba <dsterba@suse.com>
18 lines
373 B
Bash
Executable File
18 lines
373 B
Bash
Executable File
#!/bin/sh
|
|
# usage: $0 [optional arguments to configure]
|
|
|
|
if ! [ -f "./autogen.sh" ]; then
|
|
echo "ERROR: cannot find autogen.sh, run from the top level directory"
|
|
exit 1
|
|
fi
|
|
|
|
set -e
|
|
|
|
jobs=`grep -c ^processor /proc/cpuinfo`
|
|
|
|
./autogen.sh
|
|
./configure "$@"
|
|
echo "D=$D"
|
|
make -j $jobs
|
|
make hash-speedtest hash-vectest ioctl-test json-formatter-test string-table-test
|