Commits

Anonymous committed 5a87103 Merge

Automated merge with ssh://hg.services.openoffice.org/cws/fs34b

  • Participants
  • Parent commits 7e758f0, 289a3b4

Comments (0)

Files changed (1)

File solenv/gbuild/JunitTest.mk

 $(call gb_JunitTest_get_target,%) :
 	$(call gb_Output_announce,$*,$(true),JUT,2)
 	$(call gb_Helper_abbreviate_dirs_native,\
+        rm -rf $(call gb_JunitTest_get_userdir,$*) && \
 		mkdir -p $(call gb_JunitTest_get_userdir,$*) && \
-		$(gb_JunitTest_JAVACOMMAND) -cp "$(CLASSPATH)" $(DEFS) org.junit.runner.JUnitCore $(CLASSES) 2>&1 > $@.log || (cat $@.log && false))
+		$(gb_JunitTest_JAVACOMMAND) -cp "$(CLASSPATH)" $(DEFS) org.junit.runner.JUnitCore $(CLASSES) 2>&1 > $@.log || (cat $@.log && false) && \
+        rm -rf $(call gb_JunitTest_get_userdir,$*))
 	$(CLEAN_CMD)
 
 define gb_JunitTest_JunitTest