[phobos] automated builds and tests

Brad Roberts braddr at puremagic.com
Sun Sep 5 13:03:12 PDT 2010


On 9/5/2010 12:31 PM, Benjamin Shropshire wrote:
> Brad Roberts wrote:
>> On 9/5/2010 7:23 AM, Benjamin Shropshire wrote:
>>  
>>> Brad Roberts wrote:
>>>    
>>>> http://d.puremagic.com/test-results/index.ghtml
>>>>
>>>> It's super crude.. it looks horrible.. but it's a start.
>>>>
>>>> What it does:
>>>>    forever:
>>>>      checkout a fresh copy of dmd, druntime, phobos
>>>>      build dmd
>>>>      build druntime
>>>>      build phobos
>>>>      test druntime
>>>>      test phobos
>>>>      test dmd (quick mode)
>>>>      sleep 3600
>>>>
>>>> Anyone want to help make it not look like crap?
>>>>
>>>>         
>>> I've already started something similar. I'm planning on a super set of that
>>> functionality: arbitrary number of tests, individually broken down, new test get
>>> run on old versions of DMD, log per test compile times, run times and binary
>>> sizes.
>>>
>>> OTOH right now all I have is the DB schema and a few pages populated with fake
>>> data.
>>>     
>>
>> I'd be just as happy for someone else to own this, but I got sick of seeing
>> regressions and decided to whip it up.  Only invested a few hours in it so far.
>>
>>   
> 
> What is your code in? Mines in Python, but a front-end/back-end language split
> wouldn't be a real problem.

The test runs are simple shell scripts.  The server side is in a simple language
that predates php from when I worked at a web ad agency (an era of my life I'm
so happy is long gone).

Unfortunately I can't share the server engine.  Chances are seriously slim that
the lawyers that own the assets of the long defunct company would ever care of
come after me, but still.  I can share the scripts themselves, but they'd need
to be translated to something else to be used.

The code:
    http://github.com/braddr/d-tester

Later,
Brad


More information about the phobos mailing list