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

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

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

PROTON-1621: Reworked - C++11 example testing

Revert and rework the previous solution which pushed too much C++ detail to the
top level. Now each binding can export a small, set of selected extra flags for
examples that are built in a repo. These flags are optional, the examples must
be able to build without them when installed stand-alone. These flags are
exported as CACHE INTERNAL cmake variables for visibility, there is no
binding-specific cmake code outside the binding trees.


> 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.18.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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to