comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: Installing AUnit
Date: Wed, 18 Mar 2009 10:48:32 -0700 (PDT)
Date: 2009-03-18T10:48:32-07:00	[thread overview]
Message-ID: <64f82699-dfdf-4987-b66e-cc4fd9f64efe@j8g2000yql.googlegroups.com> (raw)
In-Reply-To: Xns9BD14510CB8B7pcc482719gmailcom@198.186.192.137

On Mar 17, 10:47 am, "Peter C. Chapin" <pcc482...@gmail.com> wrote:
> Tim Rowe <spamt...@tgrowe.plus.net> wrote innews:m_KdnXGtYsdx5CPUnZ2dnUVZ8jyWnZ2d@posted.plusnet:
>
> > I'm trying to install AUnit. I've downloaded the sources, run
> > doinstall.bat, accepted all the defaults and -- now what?
>
> > The test code I'm developing falls over at:
> > with Aunit.Test_Cases;
> > because it can't find aunit.ads. Fair enough, I need to make it
> > available, but searching my system...
>
> You have to create your own aunit.ads. Its an instantation of
> AUnit_Framework.Framework that is customized to your situation. For
> example, in one of my projects I'm using this:

I'm pretty sure this is AUnit 2 (which I never used, simply because it
seemed so much less easy to use than AUnit 1).

AUnit 3 seems to give the best of both worlds & I'd recommend it, if
only because my old test code built with only minor changes! (looks as
though I got it from the AdaCore subversion server -
http://svn.eu.adacore.com/anonsvn/US/trunk/AUnit).

It will be more complex with AdaGIDE than with GPRs. That said, the
code is findable via the AUnit GPRs with a bit of detection.

I'm a bit surprised at the locations of the various aunit.ads fines,
though. Might be worth reading doinstall.bat to see what it does.



  reply	other threads:[~2009-03-18 17:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16 16:10 Installing AUnit Tim Rowe
2009-03-17 10:47 ` Peter C. Chapin
2009-03-18 17:48   ` sjw [this message]
2009-03-19  0:28     ` Tim Rowe
2009-03-19  0:46   ` Tim Rowe
2009-03-19 10:26     ` Peter C. Chapin
2009-03-19 11:52       ` Tim Rowe
2009-03-19 12:08         ` Martin
2009-03-19 13:17           ` Ludovic Brenta
2009-03-19 19:43             ` Martin
2009-03-19 15:46           ` Tim Rowe
2009-03-23 15:34       ` Tim Rowe
2009-03-27 10:31         ` Peter C. Chapin
2009-03-27 11:36           ` Tim Rowe
2009-03-27 19:55           ` sjw
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox