]) # LB_CONFIG_UTILS
#
-# LB_CONFIG_TESTS
-#
-# Build tests?
-#
-AC_DEFUN([LB_CONFIG_TESTS], [
-AC_MSG_CHECKING([whether to build Lustre tests])
-AC_ARG_ENABLE([tests],
- AS_HELP_STRING([--disable-tests],
- [disable building of Lustre tests]),
- [], [enable_tests="yes"])
-
+# LB_CONFIG_LUTF
#
-# Check to see if we can build the lutf
+# Build LNet Unit Test Framework?
#
+AC_DEFUN([LB_CONFIG_LUTF], [
AX_PYTHON_DEVEL()
AS_IF([test "x$enable_dist" != xno], [
enable_lutf="yes"
[ enable_lutf="no" ])
])
])
+AC_ARG_ENABLE([lutf],
+ AS_HELP_STRING([--disable-lutf],
+ [disable building of LUTF]),
+ [], [enable_lutf="yes"])
+AC_MSG_CHECKING([whether to build LUTF (LNet Unit Test Framework)])
+AC_MSG_RESULT([$enable_lutf])
+]) # LB_CONFIG_LUTF
+#
+# LB_CONFIG_TESTS
+#
+# Build Lustre/LNet regression tests?
+#
+AC_DEFUN([LB_CONFIG_TESTS], [
+AC_MSG_CHECKING([whether to build Lustre tests])
+AC_ARG_ENABLE([tests],
+ AS_HELP_STRING([--disable-tests],
+ [disable building of Lustre tests]),
+ [], [enable_tests="yes"])
AC_MSG_RESULT([$enable_tests])
]) # LB_CONFIG_TESTS
LB_CONFIG_MANPAGES
LB_CONFIG_UTILS
LB_CONFIG_TESTS
+LB_CONFIG_LUTF
LC_CONFIG_CLIENT
LB_CONFIG_MPITESTS
LB_CONFIG_SERVERS
int cfs_gettok(struct cfs_lstr *next, char delim, struct cfs_lstr *res);
int cfs_str2num_check(char *str, int nob, unsigned *num,
unsigned min, unsigned max);
-int cfs_human_readable2long(unsigned long *sizep, char *str);
int cfs_expr2str(struct list_head *list, char *str, size_t size);
int cfs_expr_list_print(char *buffer, int count,
struct cfs_expr_list *expr_list);
}
int libcfs_strnid(struct lnet_nid *nid, const char *str);
+#ifdef __KERNEL__
char *libcfs_idstr(struct lnet_processid *id);
+#endif
__u32 libcfs_str2net(const char *str);
lnet_nid_t libcfs_str2nid(const char *str);
int libcfs_str2anynid(lnet_nid_t *nid, const char *str);
lutf_rc_t lutf_send_rpc(char *agent, char *yaml, int timeout, char **rsp)
{
lutf_rc_t rc = EN_LUTF_RC_RPC_FAIL;
- lutf_agent_blk_t *agent_blk;
+ lutf_agent_blk_t *agent_blk = NULL;
char *default_rsp;
lutf_message_hdr_t hdr;
char *recvBuf = NULL;