Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14985
| From | Peng Yu <pengyu.ut@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: How to compile hashlib.c for testing? |
| Date | 2018-12-27 20:28 -0600 |
| Message-ID | <mailman.6436.1545964125.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> <20181228014136.emrgypsauyzdcmgz@crack.deadbeast.net> |
We are talking about unit testing in the bash C source code, not bash scripts. On Thu, Dec 27, 2018 at 8:03 PM G. Branden Robinson <g.branden.robinson@gmail.com> wrote: > > 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 -- Regards, Peng
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: How to compile hashlib.c for testing? Peng Yu <pengyu.ut@gmail.com> - 2018-12-27 20:28 -0600
csiph-web