summaryrefslogtreecommitdiff
path: root/sal/Executable_cppunittester.mk
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-07-27 15:15:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-28 18:34:08 +0200
commit24b06b9c6bdb777dff385b0fbfc81d55d3d013a1 (patch)
treed75434acb49a2cdd93eba079f05f92dea9f13f5c /sal/Executable_cppunittester.mk
parent67faef71f937a14799fd551a2751c3b61dd7a94f (diff)
log access violation on windows tinderboxen
where we currently have no good feedback when something goes wrong. Credit: Exception printing code written by msdn-whiteknight as seen at https://stackoverflow.com/questions/22467604/how-can-you-use-capturestackbacktrace-to-capture-the-exception-stack-not-the-ca Change-Id: I44c65b10c0b0151c3236521d62a824570d4cdccf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119561 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/Executable_cppunittester.mk')
-rw-r--r--sal/Executable_cppunittester.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/sal/Executable_cppunittester.mk b/sal/Executable_cppunittester.mk
index 3b9016783b80..959b3cd8be47 100644
--- a/sal/Executable_cppunittester.mk
+++ b/sal/Executable_cppunittester.mk
@@ -28,6 +28,12 @@ $(eval $(call gb_Executable_add_exception_objects,cppunittester,\
sal/cppunittester/cppunittester \
))
+ifneq ($(strip $(debug)$(DEBUG)),)
+$(eval $(call gb_Executable_use_system_win32_libs,cppunittester,\
+ dbghelp \
+))
+endif
+
ifeq ($(COM),MSC)
$(eval $(call gb_Executable_add_ldflags,cppunittester,\