Kaydet (Commit) 57d28ffd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

sb140: #i117080# solenv/gbuilt/JunitTest.mk fails to remove the userdir

üst 2d5dd9a9
......@@ -47,6 +47,7 @@ ifneq (,$(strip $(OOO_JUNIT_JAR)))
$(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)" \
......@@ -56,7 +57,8 @@ $(call gb_JunitTest_get_target,%) :
'-Dorg.openoffice.test.arg.debugcommand=$(gb_JunitTest_DEBUGCOMMAND)') \
$(DEFS) \
org.junit.runner.JUnitCore \
$(CLASSES) 2>&1 > $@.log || (cat $@.log && false))
$(CLASSES) 2>&1 > $@.log || (cat $@.log && false) && \
rm -rf $(call gb_JunitTest_get_userdir,$*))
$(CLEAN_CMD)
define gb_JunitTest_JunitTest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment