www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9351] New: Cannot run Phobos unittests locally on win32

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351

           Summary: Cannot run Phobos unittests locally on win32
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



11:27:54 PST ---
$ dmd -O -w -d -property -L/co -c -unittest -ofunittest5.obj std\algorithm.d
DMD v2.062 DEBUG
Fatal Error: Out of memory

This is problematic, luckily we have the autotester which manages to run the
tests, however I can't run the tests locally. I have 3GB of RAM, this should be
enough to run the tests.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 18 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351


monarchdodra gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |monarchdodra gmail.com




 $ dmd -O -w -d -property -L/co -c -unittest -ofunittest5.obj std\algorithm.d
 DMD v2.062 DEBUG
 Fatal Error: Out of memory
 
 This is problematic, luckily we have the autotester which manages to run the
 tests, however I can't run the tests locally. I have 3GB of RAM, this should be
 enough to run the tests.
Did you checkout this thread? http://forum.dlang.org/thread/eclbkglykdpygdnchmqw forum.dlang.org?page=4#post-kd22gf:2421gb:241:40digitalmars.com It fixed it for me: You need the new snn.lib -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 18 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351




12:28:00 PST ---
I still get out of memory errors when I copy it to DMC's lib.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 18 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351





 I still get out of memory errors when I copy it to DMC's lib.
Hum, I copied mine in dmd's libs... :/ ??? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 18 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351




12:44:18 PST ---


 I still get out of memory errors when I copy it to DMC's lib.
Hum, I copied mine in dmd's libs... :/ ???
Rainer Schuetze says the new runtime is in 2.061's lib folder and has to be copied to DMC's lib. Either way I've tried getting the newest DMC and I get the same issues no matter what snn.lib I use. There are probably too many unittests in a single module like std.algorithm. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 18 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies gmail.com



With the new snn.lib, it works for me on winxp with 2gb of ram.

Just make sure you've replaced _every_ copy of snn.lib, do a search.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh gmail.com



08:52:29 PST ---

 With the new snn.lib, it works for me on winxp with 2gb of ram.
 
 Just make sure you've replaced _every_ copy of snn.lib, do a search.
Yes, and *then* rebuild and replace the dmd. Missing this last step costed me nearly an hour of hair pulling. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 19 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9351


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 19 2013