[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-unix-dev
Subject:    Re: Separate Makefile targets for tests
From:       Damien Miller <djm () mindrot ! org>
Date:       2016-09-05 0:44:18
Message-ID: alpine.BSO.2.20.1609051041100.46085 () natsu ! mindrot ! org
[Download RAW message or body]

On Sat, 3 Sep 2016, Doug Freed wrote:

> Hi,
> 
> I'm playing around with a bug in the HPN patch where it deadlocks in
> their MT-CTR implementation during the integrity tests, but it's
> annoying to have to wait for the entire test suite to finish, which
> takes almost 15 minutes on my machine.  It would be nice if each of
> the tests had its own target in the Makefile, so I could just issue
> something like 'make test-integrity' or whatever to run just that
> test, rather than having to wait for the whole suite each time, or
> edit the Makefile to only run that test.

You can do this already. 

Skip the unit tests:

make SKIP_UNIT=1 tests

Run a particular test:

make SKIP_UNIT=1 LTESTS="integrity" tests

You can run multiple tests too:

make SKIP_UNIT=1 LTESTS="connect integrity" tests

-d

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic