Re: [tcpdump-workers] tcpdump testsuite and Perl

2020-02-01 Thread Francois-Xavier Le Bail via tcpdump-workers
--- Begin Message ---
On 31/01/2020 17:19, Michael Richardson wrote:
> 
> Francois-Xavier Le Bail via tcpdump-workers wrote:
> > On 28/01/2020 23:17, Denis Ovsienko via tcpdump-workers wrote:
> >> The new dependency makes it more difficult to run tests and will break
> >> package builds downstream (thus penalising people that cared enough to
> >> make "make check" a part of the build). Maybe the cost of the solution
> >> does not justify the problem it solves (which it would be nice to
> >> state)?
> 
> > Why not just keep the TESTLIST file as it is, a text file with test 
> lines and comments?
> 
> Because it does not live alone actually.
> 
> It has a series of foo.sh files do that do annoying testing based upon what
> is configured, and I'd like to do more of the process of testing things that
> are configured, or when they are not configured.
> I don't want to write more shell scripts.

We could add a "type" field in TESTLIST and do the process following this type.

std: standard test.
crypto: need ssl library.
gcc: need GCC compiler.
etc.

Like in:
https://github.com/the-tcpdump-group/tcpdump/commit/745cd41b98feff4228783501be37889f7a473e5b
(test branch:  typed-tests)
-- 
Francois-Xavier
--- End Message ---
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Re: [tcpdump-workers] tcpdump testsuite and Perl

2020-02-01 Thread Francois-Xavier Le Bail via tcpdump-workers
--- Begin Message ---
On 02/02/2020 04:24, Francois-Xavier Le Bail via tcpdump-workers wrote:
> We could add a "type" field in TESTLIST and do the process following this 
> type.
> 
> std: standard test.
> crypto: need ssl library.
> gcc: need GCC compiler.
> etc.
> 
> Like in:
> https://github.com/the-tcpdump-group/tcpdump/commit/745cd41b98feff4228783501be37889f7a473e5b
> (test branch:  typed-tests)

And remove the yaml stuff.

-- 
Francois-Xavier
--- End Message ---
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers