From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7992d2ba081b33a X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Installing AUnit From: "Peter C. Chapin" References: Message-ID: User-Agent: Xnews/5.04.25 Date: 17 Mar 2009 10:47:22 GMT Organization: SoVerNet (sover.net) NNTP-Posting-Host: d761c91e.news.sover.net X-Trace: DXC=]OSFEWY7S=[jd]HcGf^j7[K6_LM2JZB_SjX Tim Rowe wrote in news: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: pragma Restrictions (No_Implicit_Dynamic_Code); with AUnit_Framework.Framework; package AUnit is new AUnit_Framework.Framework (Max_Exceptions_Per_Harness => 5, Max_Failures_Per_Harness => 20, Max_Routines_Per_Test_Case => 50, Max_Test_Cases_Per_Suite => 50); The aunit.ads file is a source file in my project. Peter