gnustep-dev
[Top][All Lists]
Advanced

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

Re: GNUstep-base: make check fails on a clean machine


From: Wolfgang Lux
Subject: Re: GNUstep-base: make check fails on a clean machine
Date: Sun, 10 Apr 2011 16:36:49 +0200

Richard Frith-Macdonald wrote:


On 10 Apr 2011, at 10:41, Wolfgang Lux wrote:

With this change the header is now found. Yet, make check still fails building the tests before installing. This happens because the compiler is looking for NXConstantString, e.g., decoding.m:47: error: cannot find interface declaration for `NXConstantString' The problem is that the compiler is invoked without the -fconstant- string-class=NSConstantString flag. This flag is added by
AUXILIARY_OBJCFLAGS += -fconstant-string-class=NSConstantString
in base.make. Yet, as this file isn't installed the flag (obviously) is not added to the command line.

Thanks ... I've added an environment variable setting to cure that ... please can you re-test.

Sure.

Compilation now works. But the result is not perfect:
5661 Passed tests
  16 Failed tests
  14 Dashed hopes

The 16 failing tests are

Running base/NSBundle/general.m...
Failed test: general.m:21 ... +bundleForLibrary: makes a bundle for us Failed test: general.m:24 ... -principalClass returns NSObject for the +bundleForLibrary:gnustep-base
Failed test:     general.m:40 ... -classNamed returns the correct class
Failed test:     -resourcePath returns a string
Failed test: general.m:46 ... we can set and get gnustep bundle version Failed test: general.m:48 ... -load behaves properly on the gnustep bundle Failed test: general.m:52 ... -executablePath returns an executable path (gnustep bundle) Failed test: general.m:64 ... -executablePath returns an executable path (real bundle) Failed test: general.m:69 ... +bundleWithIdentifier returns correct bundle

Running base/NSBundle/resources.m...
Failed test: resources.m:44 ... +pathForResource:ofType:inDirectory: works Failed test: resources.m:51 ... +pathForResource:ofType:inDirectory:withVersion: works Failed test: resources.m:56 ... - pathsForResourcesOfType:inDirectory: returns an array Failed test: resources.m:60 ... - pathForResource:ofType:inDirectory: finds a file Failed test: resources.m:73 ... - pathForResource:ofType:inDirectory: with nil type finds a file Failed test: resources.m:82 ... -pathForResource:ofType: finds a file

Running base/NSNumberFormatter/basic.m...
Failed test:       basic.m:43 ... allowsFloat error
Expected 'Floating Point not allowed' and got '(null)'

All tests succeed after executing sudo -E make install.

Wolfgang





reply via email to

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