Re:Show HN: Writing modern C unit tests with Criterion
by __d on Monday August 31, 2015 @06:41PM
(#10149568)
Did you check out Greg Banks' Novaprova?
[ Parent
| on HN ]
Re:Show HN: Writing modern C unit tests with Criterion
by Snaipe on Monday August 31, 2015 @06:55PM
(#10149620)
Actually, I didn't know about it until now! The project uses a similar approach to mine, by parsing the DIE tree produced by dwarf, which means that it won't work if you're not compiling with -g.
It also uses some very platform specific stuff, so windows & os x are out, too.
Very well made nonetheless.
Re:Show HN: Writing modern C unit tests with Criterion
by __d on Monday August 31, 2015 @06:59PM
(#10149636)
I think he's got OSX running now, but as you say -- it relies on some platform-specific stuff.
Good to see C test frameworks doing some innovative stuff!
Re:Show HN: Writing modern C unit tests with Criterion
by gregnbanks on Wednesday September 02, 2015 @03:03AM
(#10157802)
Darwin support is functional today, I'm just waiting for the 3.11 Valgrind release, which fixes a bug which is a showstopper for NovaProva.