Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14981

Re: How to compile hashlib.c for testing?

From "G. Branden Robinson" <g.branden.robinson@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: How to compile hashlib.c for testing?
Date 2018-12-27 20:41 -0500
Message-ID <mailman.6432.1545962558.1284.bug-bash@gnu.org> (permalink)
References <CABrM6wm+x0hGuSVYeRLSE9=6vuadxP++4+gSoG+Tm7_yYN4Duw@mail.gmail.com> <31ae9367-7968-aff5-d0e8-0f9da667d584@case.edu> <CABrM6w=a7NyF8xBkooeJojkAK_b=_rz9VsnWt2MWV3HN4BA9Eg@mail.gmail.com> <CAOSMAuuDQDjPandHkOC9Yv41VmmoGme3uRk8P-EJN9_ozPaoQw@mail.gmail.com>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

At 2018-12-27T17:34:49-0800, Eduardo Bustamante wrote:
> On Thu, Dec 27, 2018 at 5:15 PM Peng Yu <pengyu.ut@gmail.com> wrote:
> (...)
> > Since the main() function is already there, why there is not already
> > an easy way to compile it? How do you do unit-testing then for the
> > code?
> 
> This is very easy to figure out from the source code, right :)?
> 
> (Hint: there is no "unit" testing in bash)

Au contraire!  :-D

https://github.com/kward/shunit2

Regards,
Branden

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: How to compile hashlib.c for testing? "G. Branden Robinson" <g.branden.robinson@gmail.com> - 2018-12-27 20:41 -0500

csiph-web