www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12657] New: Regression (2.065): Running Phobos test-suite

https://issues.dlang.org/show_bug.cgi?id=12657

          Issue ID: 12657
           Summary: Regression (2.065): Running Phobos test-suite with
                    -debug fails
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: andrej.mitrovich gmail.com

Not sure if Phobos or DMD regression, but:

$ rdmd --main -w -g -unittest --force std\algorithm.d
 

$ rdmd --main -w -debug -g -unittest --force std\algorithm.d ---- std\algorithm.d(9385): Error: 'std.algorithm.sort!("a > b", cast(SwapStrategy)0, int[]).sort' is not nothrow std\algorithm.d(9388): Error: 'std.algorithm.sort!("a < b", cast(SwapStrategy)0, int[]).sort' is not nothrow std\algorithm.d(9392): Error: 'std.algorithm.__unittestL9381_263.sort!(myComp, cast(SwapStrategy)0, int[]).sort' is not nothrow std\algorithm.d(9381): Error: function 'std.algorithm.__unittestL9381_263' is nothrow yet may throw ---- Either way it exposes that we're not running the test-suite with -debug. --
Apr 26 2014