discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GSL Gnu Scientific Library 2.3


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] GSL Gnu Scientific Library 2.3
Date: Wed, 24 May 2017 09:13:40 -0400

All of the polar tests work for me on Mac OS X. No reason they shouldn't
work on other OSs.

Your "ctest" below indicates that the GrTest setup for those tests isn't
correct.  "make test" does not always work without GR already being
installed into the $PREFIX, so I generally recommend doing "sudo make
install" before trying testing to make sure the correct libraries /
scripts are installed. It's especially problematic on Mac OS X; a little
less so on Linux because the dynamic linker handled finding libraries
differently.

One way to verify that all -could- work if the GrTest setup were correct
is to edit the test shell script
"/usr/local/src/gnuradio_test/gnuradio/build/gr-fec/python/fec/qa_polar_encoder_systematic_test.sh"
and make sure the settings for PYTHONPATH and LD_LIBRARY_PATH contain
the paths into the build space needed to find all of the various
libraries and scripts.

That, or just do "sudo make install" then "make test"; you can always
"sudo make uninstall" after testing ...

Hope this helps! - MLD

On Wed, May 24, 2017, at 04:58 AM, address@hidden wrote:
> Here are the results:
> ------------
> ctest -VV -R polar
> UpdateCTestConfiguration  from
> :/usr/local/src/gnuradio_test/gnuradio/build/DartConfiguration.tcl
> UpdateCTestConfiguration  from
> :/usr/local/src/gnuradio_test/gnuradio/build/DartConfiguration.tcl
> Test project /usr/local/src/gnuradio_test/gnuradio/build
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 86
>     Start 86: qa_polar_encoder_systematic
> 
> 86: Test command: /usr/bin/sh
> "/usr/local/src/gnuradio_test/gnuradio/build/gr-fec/python/fec/qa_polar_encoder_systematic_test.sh"
> 86: Test timeout computed to be: 9.99988e+06
> 86: Traceback (most recent call last):                                    
> 86:   File
> "/usr/local/src/gnuradio_test/gnuradio/gr-fec/python/fec/qa_polar_encoder_systematic.py",
> line 23, in <module>                                                      
> 86:     from gnuradio import gr, gr_unittest, blocks                      
> 86:   File
> "/usr/local/src/gnuradio_test/gnuradio/gnuradio-runtime/python/gnuradio/gr/__init__.py",
> line 41, in <module>                                                      
> 86:     from runtime_swig import *                                        
> 86: ImportError: No module named runtime_swig                             
> 1/5 Test #86: qa_polar_encoder_systematic ......***Failed    0.05 sec     
> test 89                                                                   
>     Start 89: qa_polar_encoder                                            



reply via email to

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