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
69f8a4cc
Kaydet (Commit)
69f8a4cc
authored
Eki 09, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
disable environment equality test under valgrind
Change-Id: I9e0e06331f134fe89c9942f93b7546b0e67bb821
üst
43074739
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
CppunitTest_sal_osl_process.mk
sal/CppunitTest_sal_osl_process.mk
+4
-0
osl_process.cxx
sal/qa/osl/process/osl_process.cxx
+16
-0
No files found.
sal/CppunitTest_sal_osl_process.mk
Dosyayı görüntüle @
69f8a4cc
...
...
@@ -19,6 +19,10 @@ $(eval $(call gb_CppunitTest_use_libraries,sal_osl_process,\
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_externals,sal_osl_process,\
valgrind \
))
$(eval $(call gb_CppunitTest_use_executable,sal_osl_process,osl_process_child))
# vim: set noet sw=4 ts=4:
sal/qa/osl/process/osl_process.cxx
Dosyayı görüntüle @
69f8a4cc
...
...
@@ -37,6 +37,10 @@
#include <osl/module.hxx>
#include <sal/macros.h>
#if defined HAVE_VALGRIND_HEADERS
#include <valgrind/memcheck.h>
#endif
#if ( defined WNT ) // Windows
# include <windows.h>
# include <tchar.h>
...
...
@@ -363,6 +367,12 @@ public:
osl_freeProcessHandle
(
process
);
#if defined HAVE_VALGRIND_HEADERS
//valgrind makes these not match
if
(
RUNNING_ON_VALGRIND
)
return
;
#endif
CPPUNIT_ASSERT_MESSAGE
(
"Parent and child environment not equal"
,
...
...
@@ -421,6 +431,12 @@ public:
different_child_env_vars
.
push_back
(
ENV2
);
different_child_env_vars
.
push_back
(
ENV4
);
#if defined HAVE_VALGRIND_HEADERS
//valgrind makes these not match
if
(
RUNNING_ON_VALGRIND
)
return
;
#endif
CPPUNIT_ASSERT_MESSAGE
(
"osl_execProc_merged_child_environment"
,
...
...
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