discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] qa_qtgui test fails


From: Richard Farina
Subject: Re: [Discuss-gnuradio] qa_qtgui test fails
Date: Sun, 07 Jul 2013 12:44:13 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130524 Thunderbird/17.0.6

On 07/07/2013 04:15 AM, Tom Rondeau wrote:
> On Sun, Jul 7, 2013 at 12:59 AM, Richard Farina <address@hidden> wrote:
>> On 07/06/2013 03:39 AM, Volker Schroer wrote:
>>> I compiled gnuradio-3.7 from scratch on my gentoo (64 bit ) system.
>>> The qa_qtgui test works as non privileged user as well as privileged user.
>>> So I think there is another problem on your system.
>>> Maybe there are some weird qwt- dependencies.
>>
>> When you build with portage it drops privs to user "portage" which
>> obviously has no rights to my X server, on the rare chance that I'm
>> running one at all.
>>
>> If there is no way to easily disable the test right now I understand,
>> but it would be nice to have a way to disable some of these tests which
>> are simply not going to work on headless boxes (like the one I have
>> building every commit that goes into git as a test).
>>
>> Thanks,
>> Zero
> 
> You can disable a test using a regex expression and the -E flag to
> ctest. So instead of running 'make test', run it as:
> 
> $ ctest -E qtgui

Thanks, that works great!

-Zero
> 
> That will prevent that particular test from being run (or any test
> that regex matches to qtgui, which is only that one test).
> 
> If you are building on a headless box, you can also simply not build
> gr-qtgui. Just pass '-DENABLE_GR_QTGUI=False' to cmake.
> 
> Tom
> 
> 
>>>
>>>
>>> -- Volker
>>>
>>> Am 05.07.2013 18:47, schrieb Richard Farina:
>>>> I'm one of the maintainers for gnuradio in gentoo, and have a silly
>>>> question.  I've noticed the following test failure:
>>>>
>>>> 161/174 Testing: qa_qtgui
>>>> 161/174 Test: qa_qtgui
>>>> Command: "/bin/sh"
>>>> "/var/tmp/portage/net-wireless/gnuradio-3.7.0/work/gnuradio-3.7.0_build/gr-qtgui/python/qtgui/qa_qtgui_test.sh"
>>>>
>>>> Directory:
>>>> /var/tmp/portage/net-wireless/gnuradio-3.7.0/work/gnuradio-3.7.0_build/gr-qtgui/python/qtgui
>>>>
>>>> "qa_qtgui" start time: Jul 05 12:21 EDT
>>>> Output:
>>>> ----------------------------------------------------------
>>>> No protocol specified
>>>> : cannot connect to X server :0.0
>>>> <end of output>
>>>> Test time =   0.33 sec
>>>> ----------------------------------------------------------
>>>> Test Failed.
>>>> "qa_qtgui" end time: Jul 05 12:21 EDT
>>>> "qa_qtgui" time elapsed: 00:00:00
>>>> ----------------------------------------------------------
>>>>
>>>>
>>>> Due to multiple factors there is no way for this test to pass in gentoo
>>>> as builds are done as a non-privledged user.  Is there a simple way to
>>>> disable just this test?  If not, could something be added?
>>>>
>>>> Thanks,
>>>> Zero
>>>>
>>>> _______________________________________________
>>>> Discuss-gnuradio mailing list
>>>> address@hidden
>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>>
>>>
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

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