Spdk/test/unit/lib/iscsi
Nick Connolly c70d03f32a test/unit/lib/iscsi: Add unit test stubs
With some build environments (e.g. clang, see #1613) linking fails with
unresolved references. This is caused by the inclusion of 'unused code'
which is usually discarded by the linker. The 'unused code' contains
references to functions that have not been 'stubbed' out. The failure
can be seen by removing 'LDFLAGS += -Wl,--gc-sections' in
spdk.unittest.mk

Resolved by adding stubs for missing references. These are never called
so return an arbtrary default value.

Part of a set of independent changes which
Fixes #1613

Signed-off-by: Nick Connolly <nick.connolly@mayadata.io>
Change-Id: I63953b666e841942f51f9cc035c6a6521663079d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5084
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-11-19 09:47:26 +00:00
..
conn.c test/unit/lib/iscsi: Add unit test stubs 2020-11-19 09:47:26 +00:00
init_grp.c ut/iscsi: remove unused legacy config files 2020-10-23 16:12:18 +00:00
iscsi.c lib/iscsi: Make max outstanding R2Ts per connection configurable 2020-08-18 07:27:45 +00:00
param.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in tgt_node.h 2020-04-20 07:38:29 +00:00
portal_grp.c test/unit/lib/iscsi: Add unit test stubs 2020-11-19 09:47:26 +00:00
tgt_node.c test/unit/lib/iscsi: Add unit test stubs 2020-11-19 09:47:26 +00:00
common.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
Makefile iscsi&iscsi/ut: Unify cpumask decode between iSCSI.conf and JSON-RPC 2018-01-19 15:47:57 -05:00