You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Deb Haldar <de...@yahoo.com.INVALID> on 2015/05/22 02:17:24 UTC

Quick question on Qpid Proton tests

  Hi Folks, I had a quick question on running proton C tests to checkregressions after my modification. So far I’m doing the following:    
   - Running ctest to execute the following tests:     Start 1:c-object-tests1/7 Test #1: c-object-tests ...................   Passed   0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests ..................   Passed   0.37 sec    Start 3:c-engine-tests3/7 Test #3: c-engine-tests ...................   Passed   0.33 sec    Start 4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................   Passed   0.25 sec    Start 5:c-refcount-tests5/7 Test #5: c-refcount-tests .................   Passed   0.22 sec    Start 6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................   Passed   0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests ....................   Passed   0.21 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) =   2.77 sec  
   - Running the Java Broker and user send.exe +recv.exe and send-async.exe and recv-async.exe for functional testing.
  Is there any other test that I should be running for regressiontesting ?  Thanks,
Deb.

Re: Quick question on Qpid Proton tests

Posted by Robbie Gemmell <ro...@gmail.com>.
There is also a config.bat files for windows users, though I havent
actually used it personally.

On 22 May 2015 at 18:38, Deb Haldar <de...@yahoo.com.invalid> wrote:
> Thanks Robbie.
> I do have python and jdk installed on my system. The only thing I might be missing is the language bindings. There's a config.sh file that sets it up for Linux but I'm on Windows - is there an easy way to set this up ?
> regards,
> Deb.
>      From: Robbie Gemmell <ro...@gmail.com>
>  To: "dev@qpid.apache.org" <de...@qpid.apache.org>; Deb Haldar <de...@yahoo.com>
>  Sent: Friday, May 22, 2015 1:32 AM
>  Subject: Re: Quick question on Qpid Proton tests
>
> You only appear to be running the tests written directly in C. Many of
> the tests are written in Python and are run against proton-c and
> proton-j. Taking a quick guess, you might not have python and a JDK
> installed (or at least, cmake didnt find one/both of them),  which
> would mean the build didnt create the python bindings or run the tests
> against proton-j.
>
>
>
> On 22 May 2015 at 01:17, Deb Haldar <de...@yahoo.com.invalid> wrote:
>>  Hi Folks, I had a quick question on running proton C tests to checkregressions after my modification. So far I’m doing the following:
>>    - Running ctest to execute the following tests:    Start 1:c-object-tests1/7 Test #1: c-object-tests ...................  Passed  0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests ..................  Passed  0.37 sec    Start 3:c-engine-tests3/7 Test #3: c-engine-tests ...................  Passed  0.33 sec    Start 4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................  Passed  0.25 sec    Start 5:c-refcount-tests5/7 Test #5: c-refcount-tests .................  Passed  0.22 sec    Start 6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................  Passed  0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests ....................  Passed  0.21 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) =  2.77 sec
>>    - Running the Java Broker and user send.exe +recv.exe and send-async.exe and recv-async.exe for functional testing.
>>  Is there any other test that I should be running for regressiontesting ?  Thanks,
>> Deb.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
>
>
>

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


Re: Quick question on Qpid Proton tests

Posted by Deb Haldar <de...@yahoo.com.INVALID>.
Great - thanks Chuck. Will give that a shot and get back to this thread if we have questions.
      From: Chuck Rolke <cr...@redhat.com>
 To: dev@qpid.apache.org; Deb Haldar <de...@yahoo.com> 
 Sent: Friday, May 22, 2015 2:37 PM
 Subject: Re: Quick question on Qpid Proton tests
   
Do you have swigwin installed?

The python tests need the swigged _cpython.pyd

I use swigwin-2.0.10 installed at c:\software\swigwin-2.0.10
Then to use it in a win build just add it to the path:
  set path=%path%;c:\software\swigwin-2.0.10

>From the build directory (where you ran cmake) 'ctest -VV' then runs the python tests.

-Chuck




----- Original Message -----
> From: "Deb Haldar" <de...@yahoo.com.INVALID>
> To: dev@qpid.apache.org
> Sent: Friday, May 22, 2015 1:38:44 PM
> Subject: Re: Quick question on Qpid Proton tests
> 
> Thanks Robbie.
> I do have python and jdk installed on my system. The only thing I might be
> missing is the language bindings. There's a config.sh file that sets it up
> for Linux but I'm on Windows - is there an easy way to set this up ?
> regards,
> Deb.
>      From: Robbie Gemmell <ro...@gmail.com>
>  To: "dev@qpid.apache.org" <de...@qpid.apache.org>; Deb Haldar
>  <de...@yahoo.com>
>  Sent: Friday, May 22, 2015 1:32 AM
>  Subject: Re: Quick question on Qpid Proton tests
>    
> You only appear to be running the tests written directly in C. Many of
> the tests are written in Python and are run against proton-c and
> proton-j. Taking a quick guess, you might not have python and a JDK
> installed (or at least, cmake didnt find one/both of them),  which
> would mean the build didnt create the python bindings or run the tests
> against proton-j.
> 
> 
> 
> On 22 May 2015 at 01:17, Deb Haldar <de...@yahoo.com.invalid> wrote:
> >  Hi Folks, I had a quick question on running proton C tests to
> >  checkregressions after my modification. So far I’m doing the following:
> >    - Running ctest to execute the following tests:    Start
> >    1:c-object-tests1/7 Test #1: c-object-tests ...................  Passed
> >      0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests
> >    ..................  Passed  0.37 sec    Start 3:c-engine-tests3/7 Test
> >    #3: c-engine-tests ...................  Passed  0.33 sec    Start
> >    4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................
> >      Passed  0.25 sec    Start 5:c-refcount-tests5/7 Test #5:
> >    c-refcount-tests .................  Passed  0.22 sec    Start
> >    6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................
> >      Passed  0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests
> >    ....................  Passed  0.21 sec 100% tests passed, 0 tests
> >    failed out of 7 Total Test time (real) =  2.77 sec
> >    - Running the Java Broker and user send.exe +recv.exe and send-async.exe
> >    and recv-async.exe for functional testing.
> >  Is there any other test that I should be running for regressiontesting ?
> >    Thanks,
> > Deb.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
> 
> 
> 

  

Re: Quick question on Qpid Proton tests

Posted by Chuck Rolke <cr...@redhat.com>.
Do you have swigwin installed?

The python tests need the swigged _cpython.pyd

I use swigwin-2.0.10 installed at c:\software\swigwin-2.0.10
Then to use it in a win build just add it to the path:
  set path=%path%;c:\software\swigwin-2.0.10

>From the build directory (where you ran cmake) 'ctest -VV' then runs the python tests.

-Chuck


----- Original Message -----
> From: "Deb Haldar" <de...@yahoo.com.INVALID>
> To: dev@qpid.apache.org
> Sent: Friday, May 22, 2015 1:38:44 PM
> Subject: Re: Quick question on Qpid Proton tests
> 
> Thanks Robbie.
> I do have python and jdk installed on my system. The only thing I might be
> missing is the language bindings. There's a config.sh file that sets it up
> for Linux but I'm on Windows - is there an easy way to set this up ?
> regards,
> Deb.
>      From: Robbie Gemmell <ro...@gmail.com>
>  To: "dev@qpid.apache.org" <de...@qpid.apache.org>; Deb Haldar
>  <de...@yahoo.com>
>  Sent: Friday, May 22, 2015 1:32 AM
>  Subject: Re: Quick question on Qpid Proton tests
>    
> You only appear to be running the tests written directly in C. Many of
> the tests are written in Python and are run against proton-c and
> proton-j. Taking a quick guess, you might not have python and a JDK
> installed (or at least, cmake didnt find one/both of them),  which
> would mean the build didnt create the python bindings or run the tests
> against proton-j.
> 
> 
> 
> On 22 May 2015 at 01:17, Deb Haldar <de...@yahoo.com.invalid> wrote:
> >  Hi Folks, I had a quick question on running proton C tests to
> >  checkregressions after my modification. So far I’m doing the following:
> >    - Running ctest to execute the following tests:    Start
> >    1:c-object-tests1/7 Test #1: c-object-tests ...................  Passed
> >      0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests
> >    ..................  Passed  0.37 sec    Start 3:c-engine-tests3/7 Test
> >    #3: c-engine-tests ...................  Passed  0.33 sec    Start
> >    4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................
> >      Passed  0.25 sec    Start 5:c-refcount-tests5/7 Test #5:
> >    c-refcount-tests .................  Passed  0.22 sec    Start
> >    6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................
> >      Passed  0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests
> >    ....................  Passed  0.21 sec 100% tests passed, 0 tests
> >    failed out of 7 Total Test time (real) =  2.77 sec
> >    - Running the Java Broker and user send.exe +recv.exe and send-async.exe
> >    and recv-async.exe for functional testing.
> >  Is there any other test that I should be running for regressiontesting ?
> >    Thanks,
> > Deb.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
> 
> 
> 

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


Re: Quick question on Qpid Proton tests

Posted by Deb Haldar <de...@yahoo.com.INVALID>.
Thanks Robbie.
I do have python and jdk installed on my system. The only thing I might be missing is the language bindings. There's a config.sh file that sets it up for Linux but I'm on Windows - is there an easy way to set this up ?
regards,
Deb.
     From: Robbie Gemmell <ro...@gmail.com>
 To: "dev@qpid.apache.org" <de...@qpid.apache.org>; Deb Haldar <de...@yahoo.com> 
 Sent: Friday, May 22, 2015 1:32 AM
 Subject: Re: Quick question on Qpid Proton tests
   
You only appear to be running the tests written directly in C. Many of
the tests are written in Python and are run against proton-c and
proton-j. Taking a quick guess, you might not have python and a JDK
installed (or at least, cmake didnt find one/both of them),  which
would mean the build didnt create the python bindings or run the tests
against proton-j.



On 22 May 2015 at 01:17, Deb Haldar <de...@yahoo.com.invalid> wrote:
>  Hi Folks, I had a quick question on running proton C tests to checkregressions after my modification. So far I’m doing the following:
>    - Running ctest to execute the following tests:    Start 1:c-object-tests1/7 Test #1: c-object-tests ...................  Passed  0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests ..................  Passed  0.37 sec    Start 3:c-engine-tests3/7 Test #3: c-engine-tests ...................  Passed  0.33 sec    Start 4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................  Passed  0.25 sec    Start 5:c-refcount-tests5/7 Test #5: c-refcount-tests .................  Passed  0.22 sec    Start 6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................  Passed  0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests ....................  Passed  0.21 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) =  2.77 sec
>    - Running the Java Broker and user send.exe +recv.exe and send-async.exe and recv-async.exe for functional testing.
>  Is there any other test that I should be running for regressiontesting ?  Thanks,
> Deb.

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


  

Re: Quick question on Qpid Proton tests

Posted by Robbie Gemmell <ro...@gmail.com>.
You only appear to be running the tests written directly in C. Many of
the tests are written in Python and are run against proton-c and
proton-j. Taking a quick guess, you might not have python and a JDK
installed (or at least, cmake didnt find one/both of them),  which
would mean the build didnt create the python bindings or run the tests
against proton-j.

On 22 May 2015 at 01:17, Deb Haldar <de...@yahoo.com.invalid> wrote:
>   Hi Folks, I had a quick question on running proton C tests to checkregressions after my modification. So far I’m doing the following:
>    - Running ctest to execute the following tests:     Start 1:c-object-tests1/7 Test #1: c-object-tests ...................   Passed   0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests ..................   Passed   0.37 sec    Start 3:c-engine-tests3/7 Test #3: c-engine-tests ...................   Passed   0.33 sec    Start 4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................   Passed   0.25 sec    Start 5:c-refcount-tests5/7 Test #5: c-refcount-tests .................   Passed   0.22 sec    Start 6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................   Passed   0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests ....................   Passed   0.21 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) =   2.77 sec
>    - Running the Java Broker and user send.exe +recv.exe and send-async.exe and recv-async.exe for functional testing.
>   Is there any other test that I should be running for regressiontesting ?  Thanks,
> Deb.

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


Re: Quick question on Qpid Proton tests

Posted by Andrew Stitcher <as...@redhat.com>.
On Tue, 2015-05-26 at 17:30 -0400, Andrew Stitcher wrote:
> On Fri, 2015-05-22 at 00:17 +0000, Deb Haldar wrote:
> >   Hi Folks, I had a quick question on running proton C tests to checkregressions after my modification. So far I’m doing the following:    
> >    - Running ctest to execute the following tests:     Start 1:c-object-tests1/7 Test #1: c-object-tests ...................   Passed   0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests ..................   Passed   0.37 sec    Start 3:c-engine-tests3/7 Test #3: c-engine-tests ...................   Passed   0.33 sec    Start 4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................   Passed   0.25 sec    Start 5:c-refcount-tests5/7 Test #5: c-refcount-tests .................   Passed   0.22 sec    Start 6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................   Passed   0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests ....................   Passed   0.21 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) =   2.77 sec  
> >    - Running the Java Broker and user send.exe +recv.exe and send-async.exe and recv-async.exe for functional testing.
> >   Is there any other test that I should be running for regressiontesting ?  Thanks,
> 
> As others have said you are not creating the language bindings because
> you've not got swigwin installed.
> 
> If you look at the appveyor.yml file you will see that the Appveyor CI
> downloads swigwin using chocolatey[1]:
> "cinst -y swig"
> 
> So if you install chocolatey you can install swig easily and then cmake
> will find it directly.
> 

However having said that the java test will not correctly run under
windows even if the jdk is found. This is because the install target is
broken on Windows as symlinks don't exist there.

Andrew




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


Re: Quick question on Qpid Proton tests

Posted by Andrew Stitcher <as...@redhat.com>.
On Fri, 2015-05-22 at 00:17 +0000, Deb Haldar wrote:
>   Hi Folks, I had a quick question on running proton C tests to checkregressions after my modification. So far I’m doing the following:    
>    - Running ctest to execute the following tests:     Start 1:c-object-tests1/7 Test #1: c-object-tests ...................   Passed   0.54 sec    Start 2:c-message-tests2/7 Test #2: c-message-tests ..................   Passed   0.37 sec    Start 3:c-engine-tests3/7 Test #3: c-engine-tests ...................   Passed   0.33 sec    Start 4:c-parse-url-tests4/7 Test #4: c-parse-url-tests ................   Passed   0.25 sec    Start 5:c-refcount-tests5/7 Test #5: c-refcount-tests .................   Passed   0.22 sec    Start 6:c-reactor-tests6/7 Test #6: c-reactor-tests ..................   Passed   0.69 sec    Start 7:c-event-tests7/7 Test #7: c-event-tests ....................   Passed   0.21 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) =   2.77 sec  
>    - Running the Java Broker and user send.exe +recv.exe and send-async.exe and recv-async.exe for functional testing.
>   Is there any other test that I should be running for regressiontesting ?  Thanks,

As others have said you are not creating the language bindings because
you've not got swigwin installed.

If you look at the appveyor.yml file you will see that the Appveyor CI
downloads swigwin using chocolatey[1]:
"cinst -y swig"

So if you install chocolatey you can install swig easily and then cmake
will find it directly.

Andrew

[1] https://chocolatey.org/



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