5 # If the configuration of tests is not provided, no tests will be carried out.
7 echo "ERROR: SPDK test configuration not specified"
13 rootdir
=$
(readlink
-f $
(dirname $0))
14 source "$rootdir/test/common/autotest_common.sh"
18 MAKEFLAGS
=${MAKEFLAGS:--j16}
21 timing_enter porcelain_check
24 if [ $
(git status
--porcelain --ignore-submodules |
wc -l) -ne 0 ]; then
25 echo make clean left the following files
:
26 git status
--porcelain --ignore-submodules
29 timing_exit porcelain_check
31 if [[ $RUN_NIGHTLY -eq 0 ]]; then
36 timing_enter build_release
38 if [ $
(uname
-s) = Linux
]; then
39 .
/configure $
(get_config_params
) --disable-debug --enable-lto
41 # LTO needs a special compiler to work on BSD.
42 .
/configure $
(get_config_params
) --disable-debug
45 $MAKE ${MAKEFLAGS} clean
47 timing_exit build_release