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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:693:: with SMTP id 141mr476225qkg.92.1561441661791; Mon, 24 Jun 2019 22:47:41 -0700 (PDT) X-Received: by 2002:a9d:2f0:: with SMTP id 103mr80665675otl.182.1561441661528; Mon, 24 Jun 2019 22:47:41 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!m24no2592182qtm.0!news-out.google.com!4ni736qtw.1!nntp.google.com!m24no2592177qtm.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 24 Jun 2019 22:47:41 -0700 (PDT) In-Reply-To: <2aa12fd0-dcf6-4b31-9c13-612a359dd731@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.204.137.153; posting-account=9DmjiwoAAAD-KD7MAll0qPzDsSqXm2Qs NNTP-Posting-Host: 85.204.137.153 References: <86e32abe-7c57-4ea1-879e-869464a6a316@googlegroups.com> <2aa12fd0-dcf6-4b31-9c13-612a359dd731@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <76ced7a9-8b87-4665-b3f3-328dbad618ec@googlegroups.com> Subject: Re: gprbuild and package renames (testsuites) From: Per Jakobsen Injection-Date: Tue, 25 Jun 2019 05:47:41 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56746 Date: 2019-06-24T22:47:41-07:00 List-Id: > I don't think you'll be able to run all three testsuites from the same executable. No, it's likely not feasible today. Dependency Injection is likely a better way in most cases. > In the end, the case statement approach doesn't scale really well. We ended up using "extending" and "extending all" projects. For instance: ... > This solution is not so easy to setup, and is kind of fragile because it frequently happens that gprbuild doesn't properly recompile all the files (though I could never reproduce systematically and thus report it). Yikes, that reminds me of the old Borland C++ Builder - Two rebuilds in order to be sure that everything was up to date :-S