changeset 1418:13cf373ecdba

* Makefile: (stamps/run-netx-unit-tests.stamp) variable CLASSPATH's content and its usage on with Xbootclasspath put to quotes, to run junits in cygwin. Note, that this issue is spread on all usages of raw call to joinsegments and its results. Will be fixed on demand.
author Jiri Vanek <jvanek@redhat.com>
date Thu, 04 May 2017 16:13:43 +0200
parents 586e12244c40
children c354ddd6de5f
files ChangeLog Makefile.am
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 04 14:49:13 2017 +0200
+++ b/ChangeLog	Thu May 04 16:13:43 2017 +0200
@@ -1,3 +1,10 @@
+2017-05-04  Jiri Vanek <jvanek@redhat.com>
+
+	* Makefile: (stamps/run-netx-unit-tests.stamp) variable CLASSPATH's content
+	and its usage on with Xbootclasspath put to quotes, to run junits in cygwin.
+	Note, that this issue is spread on all usages of raw call to joinsegments and its
+	results. Will be fixed on demand.
+
 2017-05-04  Jiri Vanek <jvanek@redhat.com>
 
 	* Makefile: (install-data-local) when copying to WIN_RUN_DEPS, the name of
--- a/Makefile.am	Thu May 04 14:49:13 2017 +0200
+++ b/Makefile.am	Thu May 04 16:13:43 2017 +0200
@@ -1354,8 +1354,8 @@
 	done ; \
 	cd $(NETX_UNIT_TEST_DIR) ; \
 	class_names=`cat $(UNIT_CLASS_NAMES)` ; \
-	CLASSPATH=$(call joinsegments, $(NETX_DIR)/lib/classes.jar $(TOP_BUILD_DIR)/liveconnect/lib/classes.jar $(JUNIT_RUNTIME) $(JUNIT_RUNNER_JAR) $(TEST_EXTENSIONS_DIR) . $(TEST_EXTENSIONS_SRCDIR) $(TAGSOUP_JAR)) ; \
-	  $(SYSTEM_JRE_DIR)/bin/java -Xbootclasspath/a:$$CLASSPATH CommandLine $$class_names 
+	CLASSPATH="$(call joinsegments, $(NETX_DIR)/lib/classes.jar $(TOP_BUILD_DIR)/liveconnect/lib/classes.jar $(JUNIT_RUNTIME) $(JUNIT_RUNNER_JAR) $(TEST_EXTENSIONS_DIR) . $(TEST_EXTENSIONS_SRCDIR) $(TAGSOUP_JAR))" ; \
+	  $(SYSTEM_JRE_DIR)/bin/java "-Xbootclasspath/a:$$CLASSPATH" CommandLine $$class_names 
 if WITH_XSLTPROC
 	-$(XSLTPROC) --stringparam logs logs_unit.html $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(NETX_UNIT_TEST_DIR)/tests-output.xml > $(TESTS_DIR)/index_unit.html
 	-$(XSLTPROC) $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/logs.xsl $(NETX_UNIT_TEST_DIR)/ServerAccess-logs.xml > $(TESTS_DIR)/logs_unit.html