axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billblo...@apache.org
Subject [axis-axis2-c-core] 14/17: Noted the make check problem with test_clientapi
Date Sat, 04 Apr 2020 15:06:32 GMT
This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch 1.0.x
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git

commit 88db0f7376e9f7bb193bfd874a9d2ce82f643ba0
Author: Don Samisa Abeysinghe <samisa@apache.org>
AuthorDate: Thu May 3 06:31:11 2007 +0000

    Noted the make check problem with test_clientapi
---
 INSTALL                              | 8 ++++++++
 test/core/clientapi/test_clientapi.c | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/INSTALL b/INSTALL
index f21293c..bdde4f0 100644
--- a/INSTALL
+++ b/INSTALL
@@ -95,6 +95,14 @@ Table of Contents
    NOTE: If you don't provide the --prefix configure option, it will by default
          be installed into "/usr/local/axis2c" directory.
 
+   You could run make check to test if everything is working fine. However, note 
+   that the test/core/clientapi/test_clientapi program would fail unless 
+   AXIS2C_HOME points to the installed location. (It's looking for Axis2/C 
+   repository)  This means you really should run "make && make install", 
+   then set AXIS2C_HOME=/path/to/install, and then "make check".  
+   That's a little different than the usual "make && make check && make install"

+   process.
+
    You may need to try Axis2/C with guththila xml parser. You can do it by giving
    "--enable-guththila=yes" as a configure option.
     
diff --git a/test/core/clientapi/test_clientapi.c b/test/core/clientapi/test_clientapi.c
index e4d3953..081285d 100644
--- a/test/core/clientapi/test_clientapi.c
+++ b/test/core/clientapi/test_clientapi.c
@@ -55,7 +55,8 @@ void axis2_test_svc_client_blocking()
     if (!svc_client)
     {
         printf("axis2_test axis2_svc_client_create FAILURE\n");
-        exit(-1);
+        printf("Client repository path not properly set. Please check AXIS2C_HOME setting\n");
+        return;
     }
 
     options = axis2_options_create(env);


Mime
View raw message