summaryrefslogtreecommitdiffstats
path: root/solenv/gbuild/JunitTest.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-10 19:38:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-10 19:42:41 +0200
commita3a0b819bbc597db7c536180c86986b91dd9b063 (patch)
treef31ba74f3de961e42978848b8f7736e7a4c78186 /solenv/gbuild/JunitTest.mk
parentHeaderBar::ImplDrawItem: -Werror=parentheses (diff)
downloadcore-a3a0b819bbc597db7c536180c86986b91dd9b063.tar.gz
core-a3a0b819bbc597db7c536180c86986b91dd9b063.zip
Avoid unhelpful 'Binary file ... matches' output instead of error information
...when grep happens to consider the log file to be binary (for whatever reason) as can be obvserved to happen on Linux-RHEL6-x86_64@14-with-check tinderbox. Change-Id: I5da0a792b45b83939c9c26897d30ddf8b0a0c0b0
Diffstat (limited to 'solenv/gbuild/JunitTest.mk')
-rw-r--r--solenv/gbuild/JunitTest.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk
index 31cf96ec68f2..5eb7d3a9db14 100644
--- a/solenv/gbuild/JunitTest.mk
+++ b/solenv/gbuild/JunitTest.mk
@@ -51,10 +51,7 @@ $(call gb_JunitTest_get_target,%) :
$(DEFS) \
org.junit.runner.JUnitCore \
$(CLASSES) > $@.log 2>&1 || \
- (grep -v -e 'at org.junit.' \
- -e 'at java.lang.reflect.' \
- -e 'at sun.reflect.' $@.log \
- && echo "see full error log at $@.log" \
+ (cat $@.log \
&& echo "to rerun just this failed test without all others, run:" \
&& echo && echo " make $@" && echo \
&& echo "cd into the module dir to run the tests faster" \