diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-01-23 12:51:38 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-01-23 12:55:09 +0100 |
commit | b5e988ffc121147c052cf9d6992afc35db3df49b (patch) | |
tree | a53aa6530614fa683b2d236c230b8ffdd73146ee /solenv/gbuild/PythonTest.mk | |
parent | 62c2022ba73b165072e0bf01f7f368f0ecda9aad (diff) |
make unittest failure foo a script
- first of all, code from CppunitTest.mk used from PythonTest.mk is bad
anyway
- also, this shortens and removes noise from the commandline executed
Change-Id: I6c5b41a0c497b766c3293aeec5c59240aa3ef37c
Diffstat (limited to 'solenv/gbuild/PythonTest.mk')
-rw-r--r-- | solenv/gbuild/PythonTest.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/PythonTest.mk b/solenv/gbuild/PythonTest.mk index 45d217f78ef7..76af68ea4edf 100644 --- a/solenv/gbuild/PythonTest.mk +++ b/solenv/gbuild/PythonTest.mk @@ -51,10 +51,10 @@ $(call gb_PythonTest_get_target,%) : $(MODULES) \ $(if $(gb_CppunitTest__interactive),, \ > $@.log 2>&1 \ - || (cat $@.log && $(call gb_UNIT_FAILED_MSG,Python,$*) \ + || (cat $@.log \ $(if $(value gb_CppunitTest_postprocess), \ && $(call gb_CppunitTest_postprocess,$(gb_PythonTest_EXECUTABLE_GDB),$@.core,139)) \ - && false)))) + && $(SRCDIR)/solenv/bin/unittest-failed.sh Python $*)))) # always use udkapi and URE services define gb_PythonTest_PythonTest |