discuss-gnustep
[Top][All Lists]
Advanced

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

Re: failed tests in gnustep-gui


From: Andreas Fink
Subject: Re: failed tests in gnustep-gui
Date: Tue, 18 Jan 2022 11:32:32 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.54

Running gui/NSNibLoading/basic.m...
Start set:       basic.m:26 ... NSNibLoading GNUstep basic
Passed test:     (2022-01-18 11:29:42.884 +0100)   basic.m:44 ...
NSBundle was initialized
2022-01-18 11:29:42.888 basic[12804:12804] Exception occurred while
loading model: Unable to retrieve list of screens from window server.
2022-01-18 11:29:42.888 basic[12804:12804] Failed to load Gorm
Failed test:     (2022-01-18 11:29:42.888 +0100)   basic.m:52 ... .gorm
file was loaded properly using loadNibNamed:owner:topLevelObjects:
2022-01-18 11:29:42.898 basic[12804:12804] Exception occurred while
loading model: Unable to retrieve list of screens from window server.
2022-01-18 11:29:42.898 basic[12804:12804] Failed to load Xib
Failed test:     (2022-01-18 11:29:42.898 +0100)   basic.m:58 ... .xib
file was loaded properly using loadNibNamed:owner:topLevelObjects:
2022-01-18 11:29:42.939 basic[12804:12804] Exception occurred while
loading model: Unable to retrieve list of screens from window server.
2022-01-18 11:29:42.939 basic[12804:12804] Failed to load Nib
Failed test:     (2022-01-18 11:29:42.950 +0100)   basic.m:64 ... .nib
file was loaded properly using loadNibNamed:owner:topLevelObjects:
End set:         basic.m:72 ... NSNibLoading GNUstep basic
Completed file:  basic.m


Could it be that the tests fail because I call them from ssh without any
X11 active?

Richard Frith-Macdonald wrote on 18.01.22 09:33:
>
>> On 17 Jan 2022, at 21:15, Andreas Fink <andreas@fink.org> wrote:
>>
>> I get these failures while running gnustep-gui tests:
>>
>> ----------
>> gui/NSView/NSView_convertRect.m:
>> Failed set:        NSView_convertRect.m:100 ... problem in NView GNUstep
>> converRect.
>>
>> gui/NSView/NSView_frame_bounds.m:
>> Failed set:        NSView_frame_bounds.m:57 ... problem in NView GNUstep
>> frame_bounds.
>>
>> gui/NSView/NSView_frame_rotation.m:
>> Failed set:        NSView_frame_rotation.m:21 ... problem in NView
>> GNUstep frame_rotation.
>>
>> gui/NSView/scrollRectToVisible.m:
>> Failed set:        scrollRectToVisible.m:33 ... problem in NView GNUstep
>> scrollRectToVisible.
>> --- Running tests in gui/TextSystem ---
>>
>>     967 Passed tests
>>       8 Failed sets
>>       3 Failed tests
>> ------------
>>
>>
>> They all fail in a line like this:
>>
>>     START_SET("NView GNUstep bounds_scale")
>>
>> So in a macro somwhere.
>> Any idea what this macro does?
> You can just look in the header file (Testing.h) to see exactly what it does, 
> but the summary is that it starts a region of code with an autorelease pool 
> and exception handler and some bookkeeping to track things like the duration 
> of tests.
> Failed set generally means that an exception occurred somewhere in the region 
> betwen the start and the end.  The full log may tell you where/what the 
> exceptionb was.





reply via email to

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