Title: grnudadio-core test code

Hi All,
I'm getting a puzzling result running the tests for gnuradio-core
under cygwin. I build with no problems.

If I run src/tests/test_vmcircbuf I get one pass:

Testing gr_vmcircbuf_createfilemapping_factory...
....... gr_vmcircbuf_createfilemapping_factory: OK
Testing gr_vmcircbuf_sysv_shm_factory...
....... gr_vmcircbuf_sysv_shm_factory: Doesn't work
Testing gr_vmcircbuf_mmap_shm_open_factory...
gr_vmcircbuf_mmap_mkstemp: mmap or shm_open is not available
....... gr_vmcircbuf_mmap_shm_open_factory: Doesn't work
Testing gr_vmcircbuf_mmap_tmpfile_factory...
....... gr_vmcircbuf_mmap_tmpfile_factory: OK
test_vmcircbuf: OK.  We've got at least one workable solution

but, if I run src/tests/test_runtime I fail with:

Testing gr_vmcircbuf_createfilemapping_factory...
gr_vmcircbuf_mmap_createfilemapping: non contiguous mmap 0xf980000 0xf980000 0x400000 0xfd80000
....... gr_vmcircbuf_createfilemapping_factory: Doesn't work
Testing gr_vmcircbuf_sysv_shm_factory...
....... gr_vmcircbuf_sysv_shm_factory: Doesn't work
Testing gr_vmcircbuf_mmap_shm_open_factory...
gr_vmcircbuf_mmap_mkstemp: mmap or shm_open is not available
....... gr_vmcircbuf_mmap_shm_open_factory: Doesn't work
Testing gr_vmcircbuf_mmap_tmpfile_factory...
gr_vmcircbuf_mmap_tmpfile: contiguous? mmap 0xf980000 0xf980000, 8
gr_vmcircbuf_mmap_tmpfile: non contiguous mmap 0xf980000 0xf980000
....... gr_vmcircbuf_mmap_tmpfile_factory: Doesn't work


Now, as far as I can see, these two tests are calling the same function in the same library
to do the testing. Has anybody else seen this? I'm using a fairly recent CVS image & gcc-3.4.4.

cheers,
andrew

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to