&& (cd $(INSTDIR)/$(SDKDIRNAME)/examples/$(my_dir) \
&& printf 'yes\n' | LC_ALL=C make \
$(if $(filter MACOSX,$(OS)), SHELL=$(ODK_BUILD_SHELL), )))) \
- >$(call gb_CustomTarget_get_workdir,$(1))/log 2>&1 \
- || (RET=$$$$? \
- $(if $(filter MACOSX,$(OS)), && rm -f $(ODK_BUILD_SHELL) , ) \
- && cat $(call gb_CustomTarget_get_workdir,$(1))/log \
- && exit $$$$RET)
+ 2>&1
ifeq (MACOSX,$(OS))
-rm -f $(ODK_BUILD_SHELL)
endif
; RET=$$? && $(gb_CppunitTest_POSTGDBTRACE) && (exit $$RET)) \
$(if $(gb_CppunitTest_localized),|| exit $$?; done) \
) \
- $(if $(gb_CppunitTest__interactive),, \
- > $@.log 2>&1 \
- || ($(if $(value gb_CppunitTest_postprocess), \
- RET=$$?; \
- $(call gb_CppunitTest_postprocess,$(gb_CppunitTest_CPPTESTCOMMAND),$@.core,$$RET) >> $@.log 2>&1;) \
- cat $@.log; $(gb_CppunitTest_UNITTESTFAILED) Cppunit $*)))
+ 2>&1)
endif
define gb_CppunitTest_CppunitTest
-classpath "$(T_CP)" \
$(DEFS) \
org.junit.runner.JUnitCore \
- $(CLASSES) > $@.log 2>&1 || \
- (cat $@.log \
- && echo "to rerun just this failed test without all others, run:" \
- && echo && echo " make JunitTest_$*" && echo \
- && echo "cd into the module dir to run the tests faster" \
- && echo "Or to do interactive debugging, run two shells with:" \
- && echo \
- && echo " make debugrun" \
- && echo " make gb_JunitTest_DEBUGRUN=T JunitTest_$*" \
- && echo \
- && false)))
+ $(CLASSES) 2>&1))
$(CLEAN_CMD)
endif
--userdir=$(call gb_Helper_make_url,$(dir $(call gb_UITest_get_target,$*))user) \
--dir=$(strip $(MODULES)) \
$(gb_UITest_GDBTRACE) \
- $(if $(gb_UITest__interactive),, \
- > $@.log 2>&1 \
- || ($(if $(value gb_CppunitTest_postprocess), \
- RET=$$?; \
- $(call gb_CppunitTest_postprocess,$(gb_UITest_EXECUTABLE_GDB),$@.core,$$RET) >> $@.log 2>&1;) \
- $(if $(filter WNT,$(OS)), \
- printf '%s: <<<\n' $(dir $(call gb_UITest_get_target,$*))/soffice.out.log; \
- cat $(dir $(call gb_UITest_get_target,$*))/soffice.out.log; \
- printf ' >>>\n\n';) \
- cat $@.log; $(gb_UITest_UNITTESTFAILED) UI $*))))
+ 2>&1))
endif
# always use udkapi and URE services