www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D.gnu - phobos unit tests

Found out my error, I need to build phobos
with -unittest enabled in order to run them...
(default rule says -release, which skips them)

cd phobos
make DFLAGS="-Os -pipe -funittest -nostdinc" \
      libphobos.a unittest
./unittest

(where "-Os -pipe" are my normal build flags for gdc)
Built on my Mac with a patched gcc 3.3.5 and gdc 0.8:
http://svn.kuehne.cn/dstress/raw_results/mac-OS-X-10.3.6_gdc-0.8-patch/


So now I get the "expected" failure from the unittest run:
 Error: AssertError Failure ../gcc/d/phobos/std/math.d(576)

But the documentation should probably mention that you need to build phobos with the -unittest D flag ? http://home.earthlink.net/~dvdfrdmn/d/INSTALL.html --anders
Dec 02 2004