Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
93495267
Kaydet (Commit)
93495267
authored
Nis 16, 2016
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix crash in perfcheck
Change-Id: I8e053f5f0c6994c44485f61f5b3dc489271b8c5f
üst
5b72c4ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
scperfobj.cxx
sc/qa/perf/scperfobj.cxx
+3
-8
CppunitTest.mk
solenv/gbuild/CppunitTest.mk
+3
-0
No files found.
sc/qa/perf/scperfobj.cxx
Dosyayı görüntüle @
93495267
...
...
@@ -44,8 +44,6 @@ using namespace css::uno;
namespace
sc_apitest
{
#define NUMBER_OF_TESTS 3
class
ScPerfObj
:
public
CalcUnoApiTest
{
public
:
...
...
@@ -135,13 +133,10 @@ void ScPerfObj::setUp()
void
ScPerfObj
::
tearDown
()
{
if
(
nTest
==
NUMBER_OF_TESTS
)
if
(
mxComponent
.
is
()
)
{
if
(
mxComponent
.
is
())
{
closeDocument
(
mxComponent
);
mxComponent
.
clear
();
}
closeDocument
(
mxComponent
);
mxComponent
.
clear
();
}
CalcUnoApiTest
::
tearDown
();
}
...
...
solenv/gbuild/CppunitTest.mk
Dosyayı görüntüle @
93495267
...
...
@@ -40,6 +40,9 @@ endif
ifneq (,$(filter perfcheck,$(MAKECMDGOALS)))
$(if $(ENABLE_VALGRIND),,$(call gb_Output_error,Running performance tests with empty $$(ENABLE_VALGRIND) does not make sense))
gb_CppunitTest_VALGRINDTOOL := valgrind --tool=callgrind --dump-instr=yes --instr-atstart=no --simulate-cache=yes --dump-instr=yes --collect-bus=yes --branch-sim=yes
ifneq ($(strip $(VALGRIND_GDB)),)
gb_CppunitTest_VALGRINDTOOL += --vgdb=yes --vgdb-error=0
endif
endif
# defined by platform
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment