Hi,
I have a block which copies a block of input to output. The constructor is defined as shown below.
#######################################################################
copy_bb_impl::copy_bb_impl(int block_length)
{
d_block_length = block_length;
set_input_signature(gr::io_signature::make(1, 1, sizeof(char) * d_block_length));
set_output_signature(gr::io_signature::make(1, 1, sizeof(char) * d_block_length));
}
#######################################################################
make runs. Given below is the output for ctest -V
----------------------------------------------------------------------------------------------------------------------------
address@hidden build $ ctest -V
UpdateCTestConfiguration from :/home/manu/gr-ldpc/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/manu/gr-ldpc/build/DartConfiguration.tcl
Test project /home/manu/gr-ldpc/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: test_ldpc
1: Test command: /bin/sh "/home/manu/gr-ldpc/build/lib/test_ldpc_test.sh"
1: Test timeout computed to be: 9.99988e+06
1:
1:
1/2 Test #1: test_ldpc ........................ Passed 0.00 sec
test 2
Start 2: qa_copy_bb
2: Test command: /bin/sh "/home/manu/gr-ldpc/build/python/qa_copy_bb_test.sh"
2: Test timeout computed to be: 9.99988e+06
2: gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
2: gr::buffer::allocate_buffer: failed to allocate buffer of size 5894500 KB
2: terminate called after throwing an instance of 'std::bad_alloc'
2: what(): std::bad_alloc
2: Aborted
2/2 Test #2: qa_copy_bb .......................***Failed 0.22 sec
50% tests passed, 1 tests failed out of 2
Total Test time (real) = 0.23 sec
The following tests FAILED:
2 - qa_copy_bb (Failed)
Errors while running CTest
---------------------------------------------------------------------------------------------------------------------------------