public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Unit test for cfi_cmdset_0001.c
@ 2005-01-28  1:20 Jared Hulbert
  2005-01-28  2:12 ` Nicolas Pitre
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jared Hulbert @ 2005-01-28  1:20 UTC (permalink / raw)
  To: MTD List

I plan on creating a unit test based on cutest.sourceforge.net for
cfi_cmdset_0001.c.
In order to stub out the various functions inside I will have to:

1. Manually strip out functions for each version.
2. Add #if''s
3. fork this file into 2-3 files.

I prefer option 3.  As it seems cleaner to me and more maintainable. 
But I want to know which option is more "commitable."   Of course the
test be made availiable, I would hope we can get the tests commited
too.  CuTest is zlib licenced.  Is that a problem?

The reason for the unit tests is to help us find bugs in the code
paths not easily tested and to enable more rapid updates for new flash
or features mtd doesn't currently support.

Thoughts, flames, jokes?

,Jared

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-29  1:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-28  1:20 Unit test for cfi_cmdset_0001.c Jared Hulbert
2005-01-28  2:12 ` Nicolas Pitre
2005-01-28  2:16 ` Josh Boyer
2005-01-28  6:11 ` Eric W. Biederman
2005-01-28 19:47   ` Jared Hulbert
2005-01-28 20:59     ` Nicolas Pitre
2005-01-29  1:48       ` Jared Hulbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox