discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] grnudadio-core test code


From: Beck, Andrew Thomas - BECAT001
Subject: [Discuss-gnuradio] grnudadio-core test code
Date: Mon, 8 Aug 2005 22:52:00 +0930

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]