test/make: add check to confirm SO minor version is only revved once.
We don't want to rev this more than once in a release cycle. The idea behind that is that nobody should be making shared objects from a commit between two releases so we only need to rev once per release cycle. Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I8162683152bf86f41061309d341a54959e1c3646 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2682 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Community-CI: Mellanox Build Bot
This commit is contained in:
parent
e1fc678b65
commit
134939077d
@ -348,6 +348,12 @@ EOF
|
||||
echo "SO major version for $so_file was bumped. Please reset the minor version to 0."
|
||||
touch $fail_file
|
||||
fi
|
||||
|
||||
expected_new_so_min=$((old_so_min + 1))
|
||||
if [ "$new_so_min" -gt "$old_so_min" ] && [ $expected_new_so_min != $new_so_min ]; then
|
||||
echo "SO minor version for $so_file was incremented more than once. Please revert minor version to $expected_new_so_min."
|
||||
touch $fail_file
|
||||
fi
|
||||
fi
|
||||
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user