You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/10/13 19:45:00 UTC

[jira] [Commented] (PROTON-1621) Enable C++11 example testing for C++11 build environments

    [ https://issues.apache.org/jira/browse/PROTON-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204079#comment-16204079 ] 

ASF subversion and git services commented on PROTON-1621:
---------------------------------------------------------

Commit 6b2e7dcdbee49947f2fdcfa2a8f5950a9b87fbd3 in qpid-proton's branch refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=6b2e7dc ]

PROTON-1621: Enable C++11 example testing for C++11 build environments

Run the C++ compilier feature checking from the top level Cmake file so
examples and the C++ binding are built consistently.

NOTE: This does not address the problem of building examples with partially
capable compilers (MSVC < 13), only compilers that advertize full C++11 support.


> Enable C++11 example testing for C++11 build environments
> ---------------------------------------------------------
>
>                 Key: PROTON-1621
>                 URL: https://issues.apache.org/jira/browse/PROTON-1621
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>            Reporter: Justin Ross
>            Assignee: Alan Conway
>             Fix For: proton-c-0.19.0
>
>
> I have a C++11 Proton build, but the C++11 examples aren't exercised in the tests.
> {noformat}
> [jross@localhost bld (ssorj-deprecations)]$ ctest -VV -R cpp-example-container
> UpdateCTestConfiguration  from :/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
> Parse Config file:/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
> UpdateCTestConfiguration  from :/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
> Parse Config file:/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
> Test project /home/jross/code/qpid-proton-ssorj/bld
> Constructing a list of tests
> Done constructing a list of tests
> Updating test list for fixtures
> Added 0 tests to meet fixture requirements
> Checking test dependency graph...
> Checking test dependency graph end
> test 25
>     Start 25: cpp-example-container
> 25: Test command: /usr/bin/python "/home/jross/code/qpid-proton-ssorj/proton-c/env.py" "PYTHONPATH=/home/jross/code/qpid-proton-ssorj/tools/py" "PATH=/home/jross/code/qpid-proton-ssorj/bld/examples/cpp:/home/jross/bin:/home/jross/.local/bin:/home/jross/.local/sbin:/home/jross/.local/node_modules/.bin:/usr/libexec/python2-sphinx:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin" "--" "/usr/bin/python" "/home/jross/code/qpid-proton-ssorj/examples/cpp/example_test.py" "-v" "ContainerExampleTest"
> 25: Test timeout computed to be: 1500
> 25: test_encode_decode (__main__.ContainerExampleTest) ... ok
> 25: test_flow_control (__main__.ContainerExampleTest) ... ok
> 25: test_helloworld (__main__.ContainerExampleTest) ... ok
> 25: test_helloworld_direct (__main__.ContainerExampleTest) ... ok
> 25: test_message_properties (__main__.ContainerExampleTest) ... ok
> 25: test_multithreaded_client (__main__.ContainerExampleTest) ... skipped 'not a  C++11 build'
> 25: test_multithreaded_client_flow_control (__main__.ContainerExampleTest) ... skipped 'not a  C++11 build'
> 25: test_request_response (__main__.ContainerExampleTest) ... ok
> 25: test_request_response_direct (__main__.ContainerExampleTest) ... ok
> 25: test_scheduled_send (__main__.ContainerExampleTest) ... skipped 'not a  C++11 build'
> 25: test_scheduled_send_03 (__main__.ContainerExampleTest) ... ok
> 25: test_simple_recv_direct_send (__main__.ContainerExampleTest) ... ok
> 25: test_simple_recv_send (__main__.ContainerExampleTest) ... ok
> 25: test_simple_send_direct_recv (__main__.ContainerExampleTest) ... ok
> 25: test_simple_send_recv (__main__.ContainerExampleTest) ... ok
> 25: 
> 25: ----------------------------------------------------------------------
> 25: Ran 15 tests in 0.366s
> 25: 
> 25: OK (skipped=3)
> 1/2 Test #25: cpp-example-container ............   Passed    0.42 sec
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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