summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2014-10-13 11:50:39 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-10-13 10:46:08 +0000
commitb1e9163b5929f68860b56b04112fb76d303f6388 (patch)
tree6de38c0a9a3dd64fbf39e7cf6902ffd24caab1a6 /solenv
parent211ad259bbc18997f9f070e59e4262885c11e924 (diff)
enhance perfcheck failing message
add the expected number Change-Id: Ib068288f7efbfebc2705c6084dc34a651def1986 Reviewed-on: https://gerrit.libreoffice.org/11948 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/CppunitTest.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index d79e1ced7d7c..3c5f11c975da 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -96,7 +96,7 @@ $(call gb_CppunitTest_get_target,%) :| $(gb_CppunitTest_CPPTESTDEPS)
$(call gb_CppunitTest_postprocess,$(gb_CppunitTest_CPPTESTCOMMAND),$@.core,$$RET) >> $@.log 2>&1;) \
cat $@.log; $(SRCDIR)/solenv/bin/unittest-failed.sh Cppunit $*))) \
$(if $(PERFTEST), && VAL=$$(grep '^==.*== Collected : ' $@.log | sed "s/==.*== Collected : //") && \
- $(if $(filter 0,$(PERFTEST)), expr "$$VAL" "*" "101" "/" "100", test $$VAL -le $(PERFTEST) || (echo "Unit test is slow! $$VAL instructions detected." && false))) \
+ $(if $(filter 0,$(PERFTEST)), expr "$$VAL" "*" "101" "/" "100", test $$VAL -le $(PERFTEST) || (echo "Unit test is slow! $$VAL instructions detected (expected $(PERFTEST))." && false))) \
)
define gb_CppunitTest_CppunitTest