/hg/rhino-tests: Fix in Makefile: make sure the report dir is cr...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Mon Jul 16 07:14:03 PDT 2012


changeset be25709c3ecd in /hg/rhino-tests
details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=be25709c3ecd
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Mon Jul 16 16:16:03 2012 +0200

	Fix in Makefile: make sure the report dir is created when the first
	report is generated.


diffstat:

 ChangeLog |  5 +++++
 Makefile  |  1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r d78d71a7859b -r be25709c3ecd ChangeLog
--- a/ChangeLog	Mon Jul 09 12:14:59 2012 +0200
+++ b/ChangeLog	Mon Jul 16 16:16:03 2012 +0200
@@ -1,3 +1,8 @@
+2012-07-16  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* Makefile: Make sure the report dir is created when
+	the first report is generated.
+
 2012-07-09  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/RhinoTests/Reporter/GraphPagesGenerator.java:
diff -r d78d71a7859b -r be25709c3ecd Makefile
--- a/Makefile	Mon Jul 09 12:14:59 2012 +0200
+++ b/Makefile	Mon Jul 16 16:16:03 2012 +0200
@@ -112,6 +112,7 @@
 	done
 
 report:	$(ALL_CLASSES)
+	mkdir $(REPORT_DIR)
 	cp -u $(TEMPLATE_DIR)/style.css $(REPORT_DIR)/style.css
 	$(JAVA) -cp $(BUILD_DIR) org.RhinoTests.Reporter.Reporter -template-dir=$(TEMPLATE_DIR) -log-dir=$(LOGS_DIR) -report-dir=$(REPORT_DIR) -date=$(DATE) -tests="$(TESTS)"
 



More information about the distro-pkg-dev mailing list