You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by cm...@apache.org on 2021/03/31 00:06:56 UTC

[qpid-interop-test] 27/41: NO_JIRA: Minor improvement to error reporting from cmake file when complex_data_test fails generation

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

cml pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-interop-test.git

commit 2db1a16ef378ca01c3ce391d35d53f078cb4d933
Author: Kim van der Riet <kv...@europa.lan>
AuthorDate: Wed Jan 15 17:11:20 2020 -0500

    NO_JIRA: Minor improvement to error reporting from cmake file when complex_data_test fails generation
---
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 41b2ae8..86cc635 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,10 +96,12 @@ endif ()
 execute_process(COMMAND python3 src/python/qpid_interop_test/amqp_complex_types_test_generator.py --gen cpp --src-dir src/python/qpid_interop_test --gen-dir shims/qpid-proton-cpp/src/qpidit/amqp_complex_types_test
                               WORKING_DIRECTORY ../
                               RESULT_VARIABLE retcode
+                              OUTPUT_VARIABLE stdouttext
                               ERROR_VARIABLE stderrtext
 )
 if(NOT "${retcode}" STREQUAL "0")
-    message("${stderrtext}")
+    message(STATUS "stdouttext=${stdouttext}")
+    message(STATUS "stderrtext=${stderrtext}")
     message(FATAL_ERROR "Data code file generation for C++ failed")
 endif()
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org