[phobos] Unittest errors on windows with latest phobos sources

Andrei Alexandrescu andrei at erdani.com
Mon Jul 5 12:34:43 PDT 2010


Yup, that has a lot to do with the changes to assert semantics. Prior to 
those, it was embarrassing for people to check in stuff that broke the 
build. Now, failing unittests only issue one like to stdout - who cares?

Andrei

Walter Bright wrote:
> Today's checkout of phobos breaks the unit tests on Windows:
> 
> ..\dmd -O -release -nofloat -d -L/co -unittest unittest.d std\math.d 
> std\stdio.d std\dateparse.d std
> \date.d std\uni.d std\string.d  std\base64.d std\md5.d std\xml.d 
> std\bigint.d std\regexp.d  std\comp
> iler.d std\cpuid.d std\format.d std\demangle.d  std\path.d std\file.d 
> std\outbuffer.d std\utf.d std\
> uri.d  std\ctype.d std\random.d std\mmfile.d  std\algorithm.d 
> std\array.d std\numeric.d std\function
> al.d  std\range.d std\stdiobase.d std\concurrency.d  std\metastrings.d 
> std\contracts.d std\getopt.d
> std\signals.d std\typetuple.d std\traits.d std\bind.d  std\bitmanip.d 
> std\typecons.d  std\boxer.d
> std\complex.d  std\exception.d  std\process.d  std\system.d  
> std\encoding.d std\variant.d  std\strea
> m.d std\socket.d std\socketstream.d  std\perf.d std\container.d 
> std\conv.d  std\zip.d std\cstream.d
> std\loader.d  std\__fileinit.d  std\datebase.d  std\regex.d  
> std\stdarg.d  std\stdint.d  std\json.d
> std\gregorian.d  std\internal\math\biguintcore.d  
> std\internal\math\biguintnoasm.d std\internal\mat
> h\biguintx86.d  crc32.d  std\c\process.d  std\c\stdarg.d  
> std\c\stddef.d  std\c\stdlib.d  std\c\stri
> ng.d  std\c\time.d  std\c\math.d  std\c\windows\com.d  
> std\c\windows\stat.d  std\c\windows\windows.d
>  std\c\windows\winsock.d  std\windows\charset.d  std\windows\iunknown.d  
> std\windows\registry.d  st
> d\windows\syserror.d phobos.lib
> std.contracts has been scheduled for deprecation. Please use 
> std.exception instead.
> --- std.numeric(543) CustomFloat broken test ---
> Warning: AutoImplement!(C_6) ignored variadic arguments to the 
> constructor C_6(...)
> --- std.socket(314) broken test ---
> --- std.regex(3348) broken test ---
> 
> unittest
> std.xml(379): unittest failure
> std.complex(514): unittest failure
> std.complex(519): unittest failure
> The syntax of the command is incorrect.
> std.exception.ErrnoException at std\process.d(327):  (No error)
> 
> --- errorlevel 1
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list