Hi,

In some test directories 'check' target is not there. And also some test cases not installing. Attached patch fixing them. Please review and apply.

Thanks.


~sanjaya

--
http://sanjaya.8k.com
Index: test/unit/xml/om/Makefile.am
===================================================================
--- test/unit/xml/om/Makefile.am        (revision 377944)
+++ test/unit/xml/om/Makefile.am        (working copy)
@@ -1,5 +1,6 @@
 TESTS = om_test
 prglibdir=$(prefix)/lib/unit_test
+prgbindir=$(prefix)/bin/unit_test
 noinst_HEADERS = om_node_test.h
 prglib_LTLIBRARIES = libtest_om.la
 AM_CPPFLAGS = $(CPPFLAGS)
@@ -14,6 +15,7 @@
             -I$(top_builddir)/modules/platforms
 
 check_PROGRAMS = om_test
+prgbin_PROGRAMS = om_test
 om_test_SOURCES = main.c
 om_test_LDADD   =   libtest_om.la  \
                      -L$(CUTEST_HOME)/lib \
Index: test/unit/core/deployment/Makefile.am
===================================================================
--- test/unit/core/deployment/Makefile.am       (revision 377944)
+++ test/unit/core/deployment/Makefile.am       (working copy)
@@ -1,4 +1,4 @@
-TESTS =
+TESTS = deployment_test
 prgbindir=$(prefix)/bin/unit_test
 prglibdir=$(prefix)/lib/unit_test
 prglib_LTLIBRARIES = libtest_deployment.la
@@ -25,6 +25,7 @@
             -I${CUTEST_HOME}/include
 
 prgbin_PROGRAMS = deployment_test
+check_PROGRAMS = deployment_test
 deployment_test_SOURCES = main.c
 deployment_test_LDADD   =   libtest_deployment.la  \
                      -L$(CUTEST_HOME)/lib \
Index: test/unit/core/phaseresolver/Makefile.am
===================================================================
--- test/unit/core/phaseresolver/Makefile.am    (revision 377944)
+++ test/unit/core/phaseresolver/Makefile.am    (working copy)
@@ -23,6 +23,7 @@
             -I$(top_builddir)/modules/platforms
 
 prgbin_PROGRAMS = phaseresolver_test
+check_PROGRAMS = phaseresolver_test
 phaseresolver_test_SOURCES = main.c
 phaseresolver_test_LDADD   =   libtest_phaseresolver.la  \
                      -L$(CUTEST_HOME)/lib \
Index: test/unit/core/description/Makefile.am
===================================================================
--- test/unit/core/description/Makefile.am      (revision 377944)
+++ test/unit/core/description/Makefile.am      (working copy)
@@ -25,6 +25,7 @@
             -I$(top_builddir)/modules/platforms
 
 prgbin_PROGRAMS = description_test
+check_PROGRAMS = description_test
 description_test_SOURCES = main.c
 description_test_LDADD   =   libtest_description.la  \
                      -L$(CUTEST_HOME)/lib \
Index: test/unit/core/context/Makefile.am
===================================================================
--- test/unit/core/context/Makefile.am  (revision 377944)
+++ test/unit/core/context/Makefile.am  (working copy)
@@ -12,6 +12,7 @@
             -I${CUTEST_HOME}/include
 
 prgbin_PROGRAMS = context_test
+check_PROGRAMS = context_test
 context_test_SOURCES = main.c
 context_test_LDADD   =   libtest_context.la  \
                      -L$(CUTEST_HOME)/lib \
Index: test/unit/core/engine/Makefile.am
===================================================================
--- test/unit/core/engine/Makefile.am   (revision 377944)
+++ test/unit/core/engine/Makefile.am   (working copy)
@@ -1,4 +1,5 @@
 TESTS = engine_test
+prgbindir=$(prefix)/bin/unit_test
 prglibdir=$(prefix)/lib/unit_test
 prglib_LTLIBRARIES = libtest_engine.la
 AM_CPPFLAGS = $(CPPFLAGS)
@@ -19,6 +20,7 @@
             -I$(top_builddir)/modules/platforms
 
 check_PROGRAMS = engine_test
+prgbin_PROGRAMS = engine_test
 engine_test_SOURCES = main.c
 engine_test_LDADD   =   libtest_engine.la  \
                      -L$(CUTEST_HOME)/lib \
Index: test/unit/wsdl/Makefile.am
===================================================================
--- test/unit/wsdl/Makefile.am  (revision 377944)
+++ test/unit/wsdl/Makefile.am  (working copy)
@@ -1,5 +1,6 @@
 TESTS = wsdl_test
 prglibdir=$(prefix)/lib/unit_test
+prgbindir=$(prefix)/bin/unit_test
 prglib_LTLIBRARIES = libtest_wsdl.la
 AM_CPPFLAGS = $(CPPFLAGS)
 
@@ -22,6 +23,7 @@
 
 
 check_PROGRAMS = wsdl_test
+prgbin_PROGRAMS = wsdl_test
 wsdl_test_SOURCES = main.c
 
 wsdl_test_LDADD   =   \
Index: test/unit/util/Makefile.am
===================================================================
--- test/unit/util/Makefile.am  (revision 377944)
+++ test/unit/util/Makefile.am  (working copy)
@@ -1,4 +1,4 @@
-TESTS =
+TESTS =  util_test
 prgbindir=$(prefix)/bin/unit_test
 prglibdir=$(prefix)/lib/unit_test
 prglib_LTLIBRARIES = libtest_util.la
@@ -30,6 +30,7 @@
             -I$(top_builddir)/modules/platforms
 
 prgbin_PROGRAMS = util_test
+check_PROGRAMS = util_test
 util_test_SOURCES = main.c
 util_test_LDADD   =   \
                      -L$(CUTEST_HOME)/lib \
Index: test/xml/soap/Makefile.am
===================================================================
--- test/xml/soap/Makefile.am   (revision 377944)
+++ test/xml/soap/Makefile.am   (working copy)
@@ -1,4 +1,6 @@
 TESTS = test_soap
+prgbindir=$(prefix)/bin/system_test
+prgbin_PROGRAMS = test_soap
 check_PROGRAMS = test_soap
 SUBDIRS =
 AM_CPPFLAGS = $(CPPFLAGS) -g -O2 -pthread
Index: test/xml/om/Makefile.am
===================================================================
--- test/xml/om/Makefile.am     (revision 377944)
+++ test/xml/om/Makefile.am     (working copy)
@@ -1,4 +1,6 @@
 TESTS = test_om
+prgbindir=$(prefix)/bin/system_test
+prgbin_PROGRAMS = test_om
 check_PROGRAMS = test_om
 SUBDIRS =
 AM_CPPFLAGS = $(CPPFLAGS) -g -O2 -pthread
Index: test/core/deployment/Makefile.am
===================================================================
--- test/core/deployment/Makefile.am    (revision 377944)
+++ test/core/deployment/Makefile.am    (working copy)
@@ -1,4 +1,4 @@
-TESTS =
+TESTS = test_deployment
 prgbindir=$(prefix)/bin/system_test
 prgbin_PROGRAMS = test_deployment
 SUBDIRS =
Index: test/core/description/Makefile.am
===================================================================
--- test/core/description/Makefile.am   (revision 377944)
+++ test/core/description/Makefile.am   (working copy)
@@ -1,4 +1,4 @@
-TESTS =
+TESTS = test_description
 prgbindir=$(prefix)/bin/system_test
 prgbin_PROGRAMS = test_description
 SUBDIRS =
Index: test/core/engine/Makefile.am
===================================================================
--- test/core/engine/Makefile.am        (revision 377944)
+++ test/core/engine/Makefile.am        (working copy)
@@ -1,5 +1,7 @@
+prgbindir=$(prefix)/bin/system_test
 TESTS = test_engine
 check_PROGRAMS = test_engine
+prgbin_PROGRAMS = test_engine
 SUBDIRS =
 AM_CPPFLAGS = $(CPPFLAGS) -g -pthread
 test_engine_SOURCES = test_engine.c
Index: test/core/transport/http/Makefile.am
===================================================================
--- test/core/transport/http/Makefile.am        (revision 377944)
+++ test/core/transport/http/Makefile.am        (working copy)
@@ -1,5 +1,7 @@
+prgbindir=$(prefix)/bin/system_test
 TESTS = test_http_transport
 check_PROGRAMS = test_http_transport
+prgbin_PROGRAMS = test_http_transport
 SUBDIRS =
 AM_CPPFLAGS = $(CPPFLAGS) -g -pthread
 test_http_transport_SOURCES = test_http_transport.c
@@ -19,4 +21,4 @@
                     
 INCLUDES = -I${CUTEST_HOME}/include -I$(top_builddir)/include \
             -I$(top_builddir)/modules/util\
-            -I$(top_builddir)/modules/platforms
+            -I$(top_builddir)/modules/platforms 
Index: test/util/Makefile.am
===================================================================
--- test/util/Makefile.am       (revision 377944)
+++ test/util/Makefile.am       (working copy)
@@ -3,7 +3,7 @@
 prgbin_PROGRAMS = test_util test_thread
 noinst_HEADERS = test_log.h \
                     test_thread.h 
-check_PROGRAMS = test_util
+check_PROGRAMS = test_util test_thread
 SUBDIRS =
 AM_CPPFLAGS = $(CPPFLAGS)
 test_util_SOURCES = test_util.c test_log.c

Reply via email to