You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2022/09/11 03:40:52 UTC

[logging-log4cxx] branch next_stable updated: Allow throughputtests to be run by selecting Debug on the throughputtests project in Visual Studio

This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch next_stable
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/next_stable by this push:
     new 69eefd56 Allow throughputtests to be run by selecting Debug on the throughputtests project in Visual Studio
69eefd56 is described below

commit 69eefd5671d774a3b752ccd45349d55b0efc4553
Author: Stephen Webb <st...@sabreautonomous.com.au>
AuthorDate: Sun Sep 11 13:40:32 2022 +1000

    Allow throughputtests to be run by selecting Debug on the throughputtests project in Visual Studio
---
 src/test/cpp/throughput/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/test/cpp/throughput/CMakeLists.txt b/src/test/cpp/throughput/CMakeLists.txt
index de2135e7..42c6be8d 100644
--- a/src/test/cpp/throughput/CMakeLists.txt
+++ b/src/test/cpp/throughput/CMakeLists.txt
@@ -50,6 +50,9 @@ if( WIN32 )
   foreach( ENTRY ${PATH_FOR_TESTS}${NORMAL_PATH} )
 	  set(ESCAPED_PATH "${ESCAPED_PATH}${ENTRY}\\\;")
   endforeach()
+  set_target_properties(throughputtests PROPERTIES
+    VS_DEBUGGER_ENVIRONMENT "PATH=${ESCAPED_PATH}"
+  )
 endif( WIN32 )
 
 target_compile_definitions(throughputtests PRIVATE ${LOG4CXX_COMPILE_DEFINITIONS} ${APR_COMPILE_DEFINITIONS} ${APR_UTIL_COMPILE_DEFINITIONS} )