Rename lib.sh -> scan-build.sh
This commit is contained in:
parent
78333b70c0
commit
a64db98218
4 changed files with 2 additions and 6 deletions
|
|
@ -59,6 +59,7 @@ while getopts "bdhf:l:SL" option; do
|
|||
done
|
||||
|
||||
if [[ -n "$run_scan_build" ]]; then
|
||||
. script/util/scan-build.sh
|
||||
scan_build make -j2 $target
|
||||
else
|
||||
make -j2 benchmarks
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
. script/lib.sh
|
||||
|
||||
script/fetch-fixtures
|
||||
script/check-mallocs
|
||||
script/test -b
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
. script/lib.sh
|
||||
|
||||
function usage {
|
||||
cat <<-EOF
|
||||
USAGE
|
||||
|
|
@ -92,6 +90,7 @@ else
|
|||
fi
|
||||
|
||||
if [[ -n "$run_scan_build" ]]; then
|
||||
. script/util/scan-build.sh
|
||||
scan_build make -j2 $target
|
||||
else
|
||||
make -j2 $target
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function scan_build {
|
||||
extra_args=()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue