Re: Separate Makefile targets for tests

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux