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


Groups > gnu.bash.bug > #14981 > unrolled thread

Re: How to compile hashlib.c for testing?

Started by"G. Branden Robinson" <g.branden.robinson@gmail.com>
First post2018-12-27 20:41 -0500
Last post2018-12-27 20:41 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#14981 — Re: How to compile hashlib.c for testing?

From"G. Branden Robinson" <g.branden.robinson@gmail.com>
Date2018-12-27 20:41 -0500
SubjectRe: How to compile hashlib.c for testing?
Message-ID<mailman.6432.1545962558.1284.bug-bash@gnu.org>

[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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web