Mail archive
alpine-devel

Re: [alpine-devel] Calling build() check() package() might be a bad order

From: William Pitcock <nenolod_at_dereferenced.org>
Date: Thu, 9 Mar 2017 11:28:19 -0600

Hi,

On Wed, Mar 8, 2017 at 7:19 AM, Jean-Louis Fuchs <ganwell_at_fangorn.ch> wrote:
> Hi William
>
> On Tue, Mar 07, 2017 at 12:34:27AM -0600, William Pitcock wrote:
>
>> I would simply not bother running the testsuite at all,
>> because you're not testing the actual binaries going into the package,
>> making the testsuite ineffective (from a distribution point of view).
>
> I think I got it, I will change my build system the following way:
>
> make check
> Not instrumented (release mode), goal: checking compatibility
>
> make test
> Instrumented (dev mode), goal: helping developers to find bugs
>
> Of course most of tests are shared between both test-suites, but some
> may not make sense in either test-suite.

Absolutely this is the way to go. Then run "make check" from the APKBUILD.

William


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Mar 09 2017 - 11:28:19 GMT