autobuild: change binary for dependency check
Previously identify tool was always compiled into SPDK, but now there is a flag to disable compilation of examples. Next patch in series will disable compilation of examples on some jobs to speed up the test time. Switch to binary that is always compiled, like spdk_tgt. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I84be821fbeaff67a1249b427ee5c67d3a4813d8c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1195 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
9fcb1cb0e1
commit
0b7dddc793
@ -98,11 +98,11 @@ function porcelain_check {
|
||||
# capturing a binary's stat data before and after touching a
|
||||
# header file and re-making.
|
||||
function header_dependency_check {
|
||||
STAT1=$(stat examples/nvme/identify/identify)
|
||||
STAT1=$(stat app/spdk_tgt/spdk_tgt)
|
||||
sleep 1
|
||||
touch lib/nvme/nvme_internal.h
|
||||
$MAKE $MAKEFLAGS
|
||||
STAT2=$(stat examples/nvme/identify/identify)
|
||||
STAT2=$(stat app/spdk_tgt/spdk_tgt)
|
||||
|
||||
if [ "$STAT1" == "$STAT2" ]; then
|
||||
echo "Header dependency check failed"
|
||||
|
Loading…
Reference in New Issue
Block a user